Skip to content

Group rows, TypeCache, dependency audit; plan ticks and decisions - #44

Merged
jallers merged 5 commits into
proposed_type_script_api_versionfrom
claude/admiring-ride-vsq4sa
Nov 7, 2026
Merged

jallers merged 5 commits into
proposed_type_script_api_versionfrom
claude/admiring-ride-vsq4sa

Conversation

@jallers

@jallers jallers commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

This fixes the slack bot's two SDK requests, clears the dev-tool vulnerabilities before the first publish, and brings plan 001 up to date.

  • Grouped rows: rows under a group query's _children are now translated by the query's type, recursively. The unset group's key reads as null. The bot's live repro now gives Status: null and booleans.
  • TypeCache: clients with different tokens can share one instance's loaded types (new AgilityApiClient(config, { types }), schema.withTransport). Each type is fetched once.
  • Audit: npm audit found 13 issues, all in dev tooling. In-range updates plus vitest 3→5 and tsup 8→9 clear them; npm audit now reports 0. The SDK has no runtime dependencies, and its bundle imports nothing.
  • Plans: ticks C2 and C3 (gh-v1#36, Issue creating Conversation #37) and B1 and B2 (k6i-agility-slack-bot#29, 2.0 refactoring #30). It adds attachments as goal A7 and records the publish decision: @versionone/sdk@1.0.0-alpha.0 on npmjs with the alpha dist-tag.

All 108 unit tests pass. The full live suite passes on v1sdktesting (25 passed, 2 skipped local-only).

🤖 Generated with Claude Code

https://claude.ai/code/session_016NSWj9gL1oCubj5e2anVkb

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NSWj9gL1oCubj5e2anVkb
…, C4)

The SDK's goal now names every part of changing an asset, attachments and
embedded images included. A7 adds the attachment wire module and
client.attachments, starting with a survey of agility-rooms' attachment
handling; C4 moves gh v1 attach onto it once A7 lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NSWj9gL1oCubj5e2anVkb
@jallers jallers changed the title Plan 001: tick C2 and C3 Plans: tick C2 and C3; attachments become an SDK goal (A7) Nov 7, 2026
Requested by the slack bot's adoption (B2):

- A group query's rows carry the grouped rows under _children. They now
  translate by the query's own type, recursively for nested groups, and the
  unset group's key ("NULL") reads as null. Repro from the bot (the board
  query on v1sdktesting) now gives Status: null and booleans.
- TypeCache: an instance's loaded type definitions, shareable by many
  schemas and so by clients with different tokens
  (new AgilityApiClient(config, { types })); Schema.withTransport keeps the
  cache and loads through another transport. Replaces the bot's seed-and-
  copy-back workaround.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NSWj9gL1oCubj5e2anVkb
npm audit found 13 issues, all in dev tooling; the SDK has no runtime
dependencies and its bundle imports nothing. In-range updates plus
vitest 3 -> 5 and tsup 8 -> 9 clear them all (npm audit: 0). Unit (108)
and integration tiers pass; the bundle differs by one class-field line.

Plan 001: publish to npmjs as @versionone/sdk, 1.0.0-alpha.0 on the
alpha dist-tag; v1sdk stays at 2.x since compatibility is not a goal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NSWj9gL1oCubj5e2anVkb
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NSWj9gL1oCubj5e2anVkb
@jallers jallers changed the title Plans: tick C2 and C3; attachments become an SDK goal (A7) Group rows, TypeCache, dependency audit; plan ticks and decisions Nov 7, 2026
@jallers
jallers merged commit 785b4c9 into proposed_type_script_api_version Nov 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants