interaqt 1.5.7 → 1.5.9
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/agent/.claude/agents/bug-fix-handler.md +1 -0
- package/agent/.claude/agents/code-generation-handler.md +1 -0
- package/agent/.claude/agents/computation-generation-handler.md +2 -0
- package/agent/.claude/agents/error-check-handler.md +10 -9
- package/agent/.claude/agents/implement-design-handler.md +1 -0
- package/agent/agentspace/knowledge/generator/api-reference.md +59 -0
- package/agent/agentspace/knowledge/generator/computation-analysis.md +2 -1
- package/agent/agentspace/knowledge/generator/computation-implementation.md +48 -3
- package/agent/agentspace/knowledge/generator/data-analysis.md +1 -1
- package/agent/agentspace/knowledge/generator/test-implementation.md +7 -0
- package/agent/agentspace/knowledge/usage/04-reactive-computations.md +47 -1
- package/agent/agentspace/knowledge/usage/13-testing.md +8 -0
- package/agent/agentspace/knowledge/usage/14-api-reference.md +57 -0
- package/agent/agentspace/knowledge/usage/18-api-exports-reference.md +6 -2
- package/agent/agentspace/knowledge/usage/19-common-anti-patterns.md +38 -0
- package/agent/agentspace/knowledge/usage/20-postgresql-concurrency-migration.md +31 -0
- package/agent/agentspace/knowledge/usage/README.md +1 -1
- package/agent/skill/interaqt-migration.md +54 -1
- package/agent/skill/interaqt-patterns.md +47 -2
- package/agent/skill/interaqt-recipes.md +120 -0
- package/agent/skill/interaqt-reference.md +66 -3
- package/dist/core/ScopedSequence.d.ts +118 -0
- package/dist/core/ScopedSequence.d.ts.map +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/init.d.ts.map +1 -1
- package/dist/core/types.d.ts +3 -2
- package/dist/core/types.d.ts.map +1 -1
- package/dist/drivers/PGLite.d.ts +9 -0
- package/dist/drivers/PGLite.d.ts.map +1 -1
- package/dist/drivers/PostgreSQL.d.ts +9 -0
- package/dist/drivers/PostgreSQL.d.ts.map +1 -1
- package/dist/drivers/SQLite.d.ts +9 -0
- package/dist/drivers/SQLite.d.ts.map +1 -1
- package/dist/index.js +7128 -6185
- package/dist/index.js.map +1 -1
- package/dist/runtime/Controller.d.ts.map +1 -1
- package/dist/runtime/MonoSystem.d.ts +4 -4
- package/dist/runtime/MonoSystem.d.ts.map +1 -1
- package/dist/runtime/Scheduler.d.ts +2 -1
- package/dist/runtime/Scheduler.d.ts.map +1 -1
- package/dist/runtime/System.d.ts +54 -4
- package/dist/runtime/System.d.ts.map +1 -1
- package/dist/runtime/computations/Computation.d.ts +1 -1
- package/dist/runtime/computations/Computation.d.ts.map +1 -1
- package/dist/runtime/computations/ScopedSequence.d.ts +20 -0
- package/dist/runtime/computations/ScopedSequence.d.ts.map +1 -0
- package/dist/runtime/computations/index.d.ts +2 -0
- package/dist/runtime/computations/index.d.ts.map +1 -1
- package/dist/runtime/migration.d.ts +88 -1
- package/dist/runtime/migration.d.ts.map +1 -1
- package/dist/runtime/scopedSequenceManifest.d.ts +32 -0
- package/dist/runtime/scopedSequenceManifest.d.ts.map +1 -0
- package/dist/runtime/scopedSequenceMatch.d.ts +8 -0
- package/dist/runtime/scopedSequenceMatch.d.ts.map +1 -0
- package/dist/runtime/scopedSequenceScope.d.ts +8 -0
- package/dist/runtime/scopedSequenceScope.d.ts.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ScopedSequenceScopeItem } from '../core';
|
|
2
|
+
import { AtomicSequenceScope, AtomicSequenceScopeItem, AtomicSequenceScopeValue } from './System.js';
|
|
3
|
+
export declare function readScopedSequencePath(record: Record<string, unknown>, path: string): unknown;
|
|
4
|
+
export declare function canonicalizeScopedSequenceScopeValue(item: ScopedSequenceScopeItem | Record<string, unknown>, value: unknown): AtomicSequenceScopeValue;
|
|
5
|
+
export declare function atomicSequenceScopeItem(name: string, value: AtomicSequenceScopeValue): AtomicSequenceScopeItem;
|
|
6
|
+
export declare function resolveScopedSequenceScope(scope: ScopedSequenceScopeItem[], record: Record<string, unknown>): AtomicSequenceScope;
|
|
7
|
+
export declare function canonicalizeScopedSequenceScopeFromValues(scope: Array<ScopedSequenceScopeItem | Record<string, unknown>>, valuesByName: Map<string, unknown> | Record<string, unknown>): AtomicSequenceScope;
|
|
8
|
+
//# sourceMappingURL=scopedSequenceScope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scopedSequenceScope.d.ts","sourceRoot":"","sources":["../../src/runtime/scopedSequenceScope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAE1G,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,WAQnF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,wBAAwB,CA4BtJ;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,wBAAwB,GAAG,uBAAuB,CAU9G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,mBAAmB,CAMjI;AAED,wBAAgB,yCAAyC,CACrD,KAAK,EAAE,KAAK,CAAC,uBAAuB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAC/D,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,uBAQ/D"}
|
package/package.json
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"check:build": "tsc --noEmit --skipLibCheck -p tsconfig.prod.json",
|
|
35
35
|
"test": "vitest run",
|
|
36
36
|
"test:postgres-concurrency": "node -e \"if (!process.env.INTERAQT_POSTGRES_DATABASE) { console.error('INTERAQT_POSTGRES_DATABASE is required for PostgreSQL concurrency tests'); process.exit(1); }\" && vitest run tests/runtime/postgresqlConcurrency.spec.ts",
|
|
37
|
+
"test:postgres-scoped-sequence": "node -e \"if (!process.env.INTERAQT_POSTGRES_DATABASE) { console.error('INTERAQT_POSTGRES_DATABASE is required for PostgreSQL scoped sequence tests'); process.exit(1); }\" && vitest run tests/runtime/postgresqlScopedSequence.spec.ts",
|
|
37
38
|
"test:runtime": "vitest run tests/runtime",
|
|
38
39
|
"test:storage": "vitest run tests/storage",
|
|
39
40
|
"test:core": "vitest run tests/core",
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"sync:agent": "tsx scripts/sync-agent-files.ts",
|
|
44
45
|
"release": "release-it"
|
|
45
46
|
},
|
|
46
|
-
"version": "1.5.
|
|
47
|
+
"version": "1.5.9",
|
|
47
48
|
"main": "dist/index.js",
|
|
48
49
|
"files": [
|
|
49
50
|
"dist",
|