@tagma/driver-claude-code 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tagma/driver-claude-code",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Claude Code CLI driver for tagma-sdk pipelines",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -48,6 +48,6 @@
48
48
  "prepublishOnly": "bun run build"
49
49
  },
50
50
  "peerDependencies": {
51
- "@tagma/types": "0.4.4"
51
+ "@tagma/types": "0.4.5"
52
52
  }
53
53
  }
package/src/index.test.ts CHANGED
@@ -25,9 +25,9 @@ describe('driver-claude-code plugin shape', () => {
25
25
  name: 't1',
26
26
  prompt: 'hello',
27
27
  permissions: { read: true, write: false, execute: false },
28
- } as any;
29
- const track = { id: 'k', name: 'k', tasks: [] } as any;
30
- const ctx = { workDir: process.cwd(), normalizedMap: new Map(), sessionMap: new Map() } as any;
28
+ } as unknown as Parameters<typeof plugin.buildCommand>[0];
29
+ const track = { id: 'k', name: 'k', tasks: [] } as unknown as Parameters<typeof plugin.buildCommand>[1];
30
+ const ctx = { workDir: process.cwd(), normalizedMap: new Map(), sessionMap: new Map() } as unknown as Parameters<typeof plugin.buildCommand>[2];
31
31
  try {
32
32
  const spec = await plugin.buildCommand(task, track, ctx);
33
33
  expect(Array.isArray(spec.args)).toBe(true);