Skip to content

Latest commit

 

History

History
440 lines (291 loc) · 16.9 KB

File metadata and controls

440 lines (291 loc) · 16.9 KB

@tanstack/ai-code-mode-skills

0.3.4

Patch Changes

  • #844 a6cceba - Republish all packages with their compiled dist/ output.

    Releases 0.33.00.36.0 were published without a dist/ directory: the release workflow relied on an Nx-cached build whose outputs were not materialized to disk before changeset publish packed the tarballs, and files: ["dist"] silently includes nothing when dist/ is absent. The published packages therefore contained only src/, so every export (./dist/esm/*.js) resolved to a missing file and the packages were uninstallable.

    The publish step now runs a fresh, cache-bypassing build of all packages immediately before publishing, guaranteeing compiled artifacts are present in every tarball.

  • Updated dependencies [a6cceba]:

    • @tanstack/ai@0.37.0
    • @tanstack/ai-code-mode@0.3.1

0.3.3

Patch Changes

  • Updated dependencies [fbd3762]:
    • @tanstack/ai@0.36.0
    • @tanstack/ai-code-mode@0.3.0

0.3.2

Patch Changes

  • Updated dependencies [c04abd3]:
    • @tanstack/ai@0.35.0
    • @tanstack/ai-code-mode@0.2.13

0.3.1

Patch Changes

  • Updated dependencies [4188693]:
    • @tanstack/ai@0.34.1
    • @tanstack/ai-code-mode@0.2.12

0.3.0

Minor Changes

  • #736 6caac6b - Make the @tanstack/ai-code-mode-skills root export Worker/browser-safe.

    The root entry previously re-exported createFileSkillStorage (via export * from './storage'), which eagerly pulled in node:fs / node:path. This broke Cloudflare Workers and browser bundlers even for consumers that only used non-storage helpers like createSkillManagementTools or createSkillsSystemPrompt.

    The Node-only file storage now lives only behind the @tanstack/ai-code-mode-skills/storage subpath. The root entry still re-exports the browser-safe createMemorySkillStorage.

    Breaking: import createFileSkillStorage from @tanstack/ai-code-mode-skills/storage instead of the package root.

Patch Changes

  • Updated dependencies [31de22b]:
    • @tanstack/ai@0.34.0
    • @tanstack/ai-code-mode@0.2.11

0.2.10

Patch Changes

0.2.9

Patch Changes

  • Updated dependencies [8fa6cc5, 8fa6cc5]:
    • @tanstack/ai@0.32.0
    • @tanstack/ai-code-mode@0.2.9

0.2.8

Patch Changes

  • Updated dependencies [07aaf8b]:
    • @tanstack/ai@0.31.0
    • @tanstack/ai-code-mode@0.2.8

0.2.7

Patch Changes

  • #769 1d1bb52 - Add repository metadata (homepage, bugs, funding), fix repository.directory to point at each package, and include an MIT LICENSE file in every published package.

  • Updated dependencies [7103348, 1d1bb52]:

    • @tanstack/ai@0.30.0
    • @tanstack/ai-code-mode@0.2.7

0.2.6

Patch Changes

0.2.5

Patch Changes

0.2.4

Patch Changes

  • Updated dependencies [6df32b5]:
    • @tanstack/ai@0.27.0
    • @tanstack/ai-code-mode@0.2.4

0.2.3

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai@0.26.1
    • @tanstack/ai-code-mode@0.2.3

0.2.2

Patch Changes

  • Updated dependencies [5d6cd28]:
    • @tanstack/ai@0.26.0
    • @tanstack/ai-code-mode@0.2.2

0.2.1

Patch Changes

  • Updated dependencies [c251038]:
    • @tanstack/ai@0.25.0
    • @tanstack/ai-code-mode@0.2.1

0.2.0

Minor Changes

  • #628 8036b50 - Add typed runtime context for tools and middleware.

    Tools and middleware can now declare the runtime context shape they require, and chat(), ChatClient, and the framework useChat / createChat hooks infer the merged requirement and type-check the context option you pass against it.

    type AppContext = { userId: string; db: Db }
    
    const listNotes = toolDefinition({
      name: 'list_notes' /* ... */,
    }).server<AppContext>((_input, ctx) =>
      ctx.context.db.notes.findMany({ userId: ctx.context.userId }),
    )
    
    chat({
      adapter,
      messages,
      tools: [listNotes],
      context: { userId, db }, // required and type-checked because listNotes declares AppContext
    })

    Runtime context is request-local application state for tool and middleware implementations (authenticated users, database clients, tenancy, feature flags, loggers, browser services). It is never sent to the model and is distinct from the AG-UI RunAgentInput.context protocol field.

    Untyped tools and middleware continue to receive unknown context and do not force a context option. Client tools receive client-local context via ChatClient / useChat; use forwardedProps to hand serializable client data to the server and map it into server context explicitly. See the new Runtime Context guide for details.

    Behavior change: tool output validation now also runs when a tool returns undefined or null. Previously these values bypassed outputSchema validation entirely; now the schema decides whether they are valid, so a tool whose schema forbids undefined/null surfaces a validation error (output-error) instead of silently passing. Tools whose schema permits null/undefined (e.g. nullable or void outputs) are unaffected.

Patch Changes

0.1.24

Patch Changes

  • Updated dependencies [94bb9c0]:
    • @tanstack/ai@0.23.1
    • @tanstack/ai-code-mode@0.1.24

0.1.23

Patch Changes

  • Updated dependencies [980ff9b, d5645cf]:
    • @tanstack/ai@0.23.0
    • @tanstack/ai-code-mode@0.1.23

0.1.22

Patch Changes

  • Updated dependencies []:
    • @tanstack/ai@0.22.1
    • @tanstack/ai-code-mode@0.1.22

0.1.21

Patch Changes

  • Updated dependencies [02f7d04]:
    • @tanstack/ai@0.22.0
    • @tanstack/ai-code-mode@0.1.21

0.1.20

Patch Changes

  • Updated dependencies [e144a53]:
    • @tanstack/ai@0.21.3
    • @tanstack/ai-code-mode@0.1.20

0.1.19

Patch Changes

  • Refresh package README content and npm metadata for better discoverability. (#626)

  • Updated dependencies [ebeb22e]:

    • @tanstack/ai@0.21.2
    • @tanstack/ai-code-mode@0.1.19

0.1.18

Patch Changes

  • Updated dependencies [573f12e]:
    • @tanstack/ai@0.21.1
    • @tanstack/ai-code-mode@0.1.18

0.1.17

Patch Changes

  • Adopt @tanstack/eslint-config@0.4.0 and clean up the local override layer. (#607)

    • Bump @tanstack/eslint-config from 0.3.3 to 0.4.0.
    • Drop dead pnpm/enforce-catalog and pnpm/json-enforce-catalog disables (upstream removed eslint-plugin-pnpm in 0.3.1).
    • Drop the no-case-declarations: off override — no current source actually violates it.
    • Drop the no-shadow: off override — upstream sets it to warn, so it surfaces in editors without blocking CI.
    • Remove ~25 unnecessary type assertions across the publishable packages that the upgraded typescript-eslint now catches via no-unnecessary-type-assertion. One deliberately defensive cast in ag-ui-wire.ts is preserved with an inline opt-out and a reason comment.

    No public-API or runtime-behavior changes.

  • Updated dependencies [ec1393d, 188fe11]:

    • @tanstack/ai@0.21.0
    • @tanstack/ai-code-mode@0.1.17

0.1.16

Patch Changes

  • Tighten TypeScript safety: enable noImplicitOverride, (#579) noFallthroughCasesInSwitch, and useDefineForClassFields in the root tsconfig.json; add a typed-ESLint block scoped to packages/*/src/** that turns on no-floating-promises, no-misused-promises, await-thenable, switch-exhaustiveness-check, consistent-type-exports, prefer-readonly, and no-non-null-assertion (errors), plus no-explicit-any (warning). @ts-ignore and @ts-nocheck are disallowed in library source via @typescript-eslint/ban-ts-comment, and as unknown as <T> double-casts are blocked by a no-restricted-syntax rule (escape hatches available with an inline reason). Two flags from the original five-flag set — noPropertyAccessFromIndexSignature and exactOptionalPropertyTypes — were tried and rolled back: they produced ~500 lines of bracket- access and conditional-spread churn without catching any real bugs, and exactOptionalPropertyTypes would have forced consumers using it themselves to deal with our internals' style preferences.

    User-visible API surface is unchanged; this is a hardening pass to keep streaming/agent-loop correctness and discriminated-union exhaustiveness honest going forward. See issue #564.

  • Updated dependencies [2ad137b]:

    • @tanstack/ai@0.20.1
    • @tanstack/ai-code-mode@0.1.16

0.1.15

Patch Changes

  • Updated dependencies [496db9c]:
    • @tanstack/ai@0.20.0
    • @tanstack/ai-code-mode@0.1.15

0.1.14

Patch Changes

  • Updated dependencies [617b5b5]:
    • @tanstack/ai@0.19.1
    • @tanstack/ai-code-mode@0.1.14

0.1.13

Patch Changes

  • Updated dependencies [2e0e2eb]:
    • @tanstack/ai@0.19.0
    • @tanstack/ai-code-mode@0.1.13

0.1.12

Patch Changes

  • Updated dependencies [a9d1916, e810153]:
    • @tanstack/ai@0.18.0
    • @tanstack/ai-code-mode@0.1.12

0.1.11

Patch Changes

  • Updated dependencies [98979f7, 02527c2]:
    • @tanstack/ai@0.17.0
    • @tanstack/ai-code-mode@0.1.11

0.1.10

Patch Changes

  • Updated dependencies [87f305c]:
    • @tanstack/ai@0.16.0
    • @tanstack/ai-code-mode@0.1.10

0.1.9

Patch Changes

0.1.8

Patch Changes

0.1.7

Patch Changes

  • Updated dependencies [c1fd96f]:
    • @tanstack/ai@0.13.0
    • @tanstack/ai-code-mode@0.1.7

0.1.6

Patch Changes

  • Updated dependencies [e32583e]:
    • @tanstack/ai@0.12.0
    • @tanstack/ai-code-mode@0.1.6

0.1.5

Patch Changes

  • Updated dependencies [633a3d9]:
    • @tanstack/ai@0.11.1
    • @tanstack/ai-code-mode@0.1.5

0.1.4

Patch Changes

  • Updated dependencies [12d43e5]:
    • @tanstack/ai@0.11.0
    • @tanstack/ai-code-mode@0.1.4

0.1.3

Patch Changes

  • Updated dependencies [c780bc1]:
    • @tanstack/ai@0.10.3
    • @tanstack/ai-code-mode@0.1.3

0.1.2

Patch Changes

  • Updated dependencies [4445410]:
    • @tanstack/ai@0.10.2
    • @tanstack/ai-code-mode@0.1.2

0.1.1

Patch Changes

  • Updated dependencies [1d1c58f]:
    • @tanstack/ai@0.10.1
    • @tanstack/ai-code-mode@0.1.1

0.1.0

Minor Changes

  • Add code mode and isolate packages for secure AI code execution (#362)

    Also includes fixes for Ollama tool call argument streaming and usage reporting, OpenAI realtime adapter handling of missing call_id/item_id, realtime client guards for missing toolCallId, and new DevtoolsChatMiddleware type export from ai-event-client.

Patch Changes

  • Updated dependencies [54abae0]:
    • @tanstack/ai@0.10.0
    • @tanstack/ai-code-mode@0.1.0