interaqt 1.5.9 → 1.7.0-alpha.0
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/agentspace/knowledge/generator/api-reference.md +14 -5
- package/agent/agentspace/knowledge/usage/04-reactive-computations.md +18 -28
- package/agent/agentspace/knowledge/usage/14-api-reference.md +12 -2
- package/agent/skill/interaqt-migration.md +18 -2
- package/agent/skill/interaqt-patterns.md +3 -1
- package/agent/skill/interaqt-reference.md +27 -2
- package/dist/builtins/interaction/Data.d.ts +0 -41
- package/dist/builtins/interaction/Data.d.ts.map +1 -1
- package/dist/builtins/interaction/Interaction.d.ts +11 -4
- package/dist/builtins/interaction/Interaction.d.ts.map +1 -1
- package/dist/builtins/interaction/activity/ActivityCall.d.ts.map +1 -1
- package/dist/builtins/interaction/activity/ActivityManager.d.ts.map +1 -1
- package/dist/builtins/interaction/index.d.ts +0 -1
- package/dist/builtins/interaction/index.d.ts.map +1 -1
- package/dist/core/Any.d.ts.map +1 -1
- package/dist/core/Average.d.ts +5 -0
- package/dist/core/Average.d.ts.map +1 -1
- package/dist/core/BoolExp.d.ts +2 -0
- package/dist/core/BoolExp.d.ts.map +1 -1
- package/dist/core/Constraint.d.ts.map +1 -1
- package/dist/core/Count.d.ts +5 -0
- package/dist/core/Count.d.ts.map +1 -1
- package/dist/core/Custom.d.ts +16 -0
- package/dist/core/Custom.d.ts.map +1 -1
- package/dist/core/Entity.d.ts.map +1 -1
- package/dist/core/Every.d.ts +5 -0
- package/dist/core/Every.d.ts.map +1 -1
- package/dist/core/Property.d.ts.map +1 -1
- package/dist/core/RealDictionary.d.ts.map +1 -1
- package/dist/core/RealTime.d.ts.map +1 -1
- package/dist/core/Relation.d.ts +5 -0
- package/dist/core/Relation.d.ts.map +1 -1
- package/dist/core/ScopedSequence.d.ts.map +1 -1
- package/dist/core/SideEffect.d.ts.map +1 -1
- package/dist/core/StateMachine.d.ts.map +1 -1
- package/dist/core/StateNode.d.ts.map +1 -1
- package/dist/core/StateTransfer.d.ts.map +1 -1
- package/dist/core/Summation.d.ts +5 -0
- package/dist/core/Summation.d.ts.map +1 -1
- package/dist/core/Transform.d.ts +7 -7
- package/dist/core/Transform.d.ts.map +1 -1
- package/dist/core/WeightedSummation.d.ts.map +1 -1
- package/dist/core/init.d.ts.map +1 -1
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/utils.d.ts +5 -0
- package/dist/core/utils.d.ts.map +1 -1
- package/dist/drivers/Mysql.d.ts +2 -1
- package/dist/drivers/Mysql.d.ts.map +1 -1
- package/dist/drivers/PGLite.d.ts.map +1 -1
- package/dist/drivers/PostgreSQL.d.ts +1 -0
- package/dist/drivers/PostgreSQL.d.ts.map +1 -1
- package/dist/index.js +6540 -5985
- package/dist/index.js.map +1 -1
- package/dist/runtime/ComputationSourceMap.d.ts +4 -0
- package/dist/runtime/ComputationSourceMap.d.ts.map +1 -1
- package/dist/runtime/Controller.d.ts +15 -1
- package/dist/runtime/Controller.d.ts.map +1 -1
- package/dist/runtime/MonoSystem.d.ts +2 -0
- package/dist/runtime/MonoSystem.d.ts.map +1 -1
- package/dist/runtime/Scheduler.d.ts +17 -1
- package/dist/runtime/Scheduler.d.ts.map +1 -1
- package/dist/runtime/System.d.ts +2 -0
- package/dist/runtime/System.d.ts.map +1 -1
- package/dist/runtime/computations/Any.d.ts +5 -1
- package/dist/runtime/computations/Any.d.ts.map +1 -1
- package/dist/runtime/computations/Average.d.ts +5 -1
- package/dist/runtime/computations/Average.d.ts.map +1 -1
- package/dist/runtime/computations/Computation.d.ts +58 -0
- package/dist/runtime/computations/Computation.d.ts.map +1 -1
- package/dist/runtime/computations/Count.d.ts +5 -1
- package/dist/runtime/computations/Count.d.ts.map +1 -1
- package/dist/runtime/computations/Custom.d.ts +4 -1
- package/dist/runtime/computations/Custom.d.ts.map +1 -1
- package/dist/runtime/computations/Every.d.ts +5 -1
- package/dist/runtime/computations/Every.d.ts.map +1 -1
- package/dist/runtime/computations/StateMachine.d.ts.map +1 -1
- package/dist/runtime/computations/Summation.d.ts +5 -1
- package/dist/runtime/computations/Summation.d.ts.map +1 -1
- package/dist/runtime/computations/Transform.d.ts +3 -1
- package/dist/runtime/computations/Transform.d.ts.map +1 -1
- package/dist/runtime/computations/WeightedSummation.d.ts +13 -4
- package/dist/runtime/computations/WeightedSummation.d.ts.map +1 -1
- package/dist/runtime/errors/ComputationErrors.d.ts +3 -0
- package/dist/runtime/errors/ComputationErrors.d.ts.map +1 -1
- package/dist/runtime/errors/index.d.ts +1 -1
- package/dist/runtime/errors/index.d.ts.map +1 -1
- package/dist/runtime/migration.d.ts +10 -3
- package/dist/runtime/migration.d.ts.map +1 -1
- package/dist/storage/erstorage/AttributeQuery.d.ts +0 -1
- package/dist/storage/erstorage/AttributeQuery.d.ts.map +1 -1
- package/dist/storage/erstorage/CreationExecutor.d.ts +10 -12
- package/dist/storage/erstorage/CreationExecutor.d.ts.map +1 -1
- package/dist/storage/erstorage/DeletionExecutor.d.ts +15 -10
- package/dist/storage/erstorage/DeletionExecutor.d.ts.map +1 -1
- package/dist/storage/erstorage/EntityToTableMap.d.ts +14 -0
- package/dist/storage/erstorage/EntityToTableMap.d.ts.map +1 -1
- package/dist/storage/erstorage/FilteredEntityManager.d.ts +83 -18
- package/dist/storage/erstorage/FilteredEntityManager.d.ts.map +1 -1
- package/dist/storage/erstorage/MatchExp.d.ts +1 -1
- package/dist/storage/erstorage/MatchExp.d.ts.map +1 -1
- package/dist/storage/erstorage/MergedItemProcessor.d.ts +29 -15
- package/dist/storage/erstorage/MergedItemProcessor.d.ts.map +1 -1
- package/dist/storage/erstorage/QueryExecutor.d.ts +23 -1
- package/dist/storage/erstorage/QueryExecutor.d.ts.map +1 -1
- package/dist/storage/erstorage/RecordInfo.d.ts +1 -0
- package/dist/storage/erstorage/RecordInfo.d.ts.map +1 -1
- package/dist/storage/erstorage/RecordQuery.d.ts.map +1 -1
- package/dist/storage/erstorage/RecordQueryAgent.d.ts +22 -5
- package/dist/storage/erstorage/RecordQueryAgent.d.ts.map +1 -1
- package/dist/storage/erstorage/SQLBuilder.d.ts +9 -0
- package/dist/storage/erstorage/SQLBuilder.d.ts.map +1 -1
- package/dist/storage/erstorage/Setup.d.ts +22 -5
- package/dist/storage/erstorage/Setup.d.ts.map +1 -1
- package/dist/storage/erstorage/UpdateExecutor.d.ts +9 -13
- package/dist/storage/erstorage/UpdateExecutor.d.ts.map +1 -1
- package/package.json +2 -2
- package/agent/.claude/settings.local.json +0 -147
- package/dist/builtins/interaction/DataAttributives.d.ts +0 -37
- package/dist/builtins/interaction/DataAttributives.d.ts.map +0 -1
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"Bash(npm run check)",
|
|
5
|
-
"Bash(npm run test)",
|
|
6
|
-
"Read(STATUS.json)",
|
|
7
|
-
"Write(STATUS.json)",
|
|
8
|
-
"Edit(STATUS.json)",
|
|
9
|
-
"Read(docs/**)",
|
|
10
|
-
"Write(docs/**)",
|
|
11
|
-
"Edit(docs/**)",
|
|
12
|
-
"Read(tests/**)",
|
|
13
|
-
"Write(tests/**)",
|
|
14
|
-
"Edit(tests/**)",
|
|
15
|
-
"Read(backend/**)",
|
|
16
|
-
"Write(backend/**)",
|
|
17
|
-
"Edit(backend/**)",
|
|
18
|
-
"Read(frontend/**)",
|
|
19
|
-
"Write(frontend/**)",
|
|
20
|
-
"Edit(frontend/**)",
|
|
21
|
-
"Edit(backend/**)",
|
|
22
|
-
"Read(integrations/**)",
|
|
23
|
-
"Write(integrations/**)",
|
|
24
|
-
"Edit(integrations/**)",
|
|
25
|
-
"Write(requirements/**)",
|
|
26
|
-
"Edit(requirements/**)",
|
|
27
|
-
"Read(requirements/**)",
|
|
28
|
-
"Write(aggregatedIntegration.ts)",
|
|
29
|
-
"Edit(aggregatedIntegration.ts)",
|
|
30
|
-
"Read(aggregatedIntegration.ts)",
|
|
31
|
-
"Bash(npm run plan)",
|
|
32
|
-
"Bash(npm run test tests/basic.test.ts)",
|
|
33
|
-
"Bash(grep:*)",
|
|
34
|
-
"Bash(git add:*)",
|
|
35
|
-
"Bash(git commit:*)",
|
|
36
|
-
"Bash(mkdir:*)",
|
|
37
|
-
"Bash(touch:*)",
|
|
38
|
-
"Bash(cp:*)",
|
|
39
|
-
"Bash(sed:*)",
|
|
40
|
-
"Bash(backend/index.ts)",
|
|
41
|
-
"Bash(npm run test:*)",
|
|
42
|
-
"Bash(find:*)",
|
|
43
|
-
"Bash(cat:*)",
|
|
44
|
-
"Bash(npm test:*)",
|
|
45
|
-
"Bash(npx vitest run tests/basic.test.ts -t \"DeductionRule.points StateMachine computation\")",
|
|
46
|
-
"Bash(npx vitest run tests/basic.test.ts -t \"Dormitory.capacity StateMachine computation\")",
|
|
47
|
-
"Bash(npx vitest run tests/basic.test.ts -t \"Dormitory.capacity\" --reporter=verbose)",
|
|
48
|
-
"Bash(npx vitest run --reporter=verbose tests/basic.test.ts)",
|
|
49
|
-
"Read(//Users/camus/Work/interqat/interqat-old/examples/dormitory/**)",
|
|
50
|
-
"Bash(strictly follow the DIRECTORY VERIFICATION step: make sure the project directory is /Users/camus/Work/interqat/interaqt-old/examples/dormitory)",
|
|
51
|
-
"Bash(npm run reset)",
|
|
52
|
-
"Bash(git restore backend/index.ts docs/computation-implementation-plan.json tests/basic.test.ts)",
|
|
53
|
-
"Bash(npm run setup)",
|
|
54
|
-
"Bash(mv backend/index.template.ts backend/index.ts)",
|
|
55
|
-
"Bash(npm run build)",
|
|
56
|
-
"Bash(npm run dev:frontend)",
|
|
57
|
-
"Bash(npm run dev)",
|
|
58
|
-
"Bash(pkill:*)",
|
|
59
|
-
"Bash(npx tsc:*)",
|
|
60
|
-
"Bash(npx vitest run:*)",
|
|
61
|
-
"Bash(npm run generate-frontend-api)",
|
|
62
|
-
"Bash(lsof:*)",
|
|
63
|
-
"Bash(curl:*)",
|
|
64
|
-
"Bash(test:*)",
|
|
65
|
-
"Bash(rg:*)",
|
|
66
|
-
"Bash(bash:*)",
|
|
67
|
-
"Bash(npm run type-check)",
|
|
68
|
-
"Bash(echo:*)",
|
|
69
|
-
"Bash(find:*)",
|
|
70
|
-
"Bash(grep:*)",
|
|
71
|
-
"Bash(sed:*)",
|
|
72
|
-
"Bash(awk:*)",
|
|
73
|
-
"Bash(tr:*)",
|
|
74
|
-
"Bash(cut:*)",
|
|
75
|
-
"Bash(sort:*)",
|
|
76
|
-
"Bash(uniq:*)",
|
|
77
|
-
"Bash(wc:*)",
|
|
78
|
-
"Bash(node:*)",
|
|
79
|
-
"WebSearch",
|
|
80
|
-
"WebFetch",
|
|
81
|
-
"Bash(if [ -z \"$VOLC_ACCESS_KEY_ID\" ])",
|
|
82
|
-
"Bash(then echo \"VOLC_ACCESS_KEY_ID is empty or not set\")",
|
|
83
|
-
"Bash(else echo \"VOLC_ACCESS_KEY_ID is set\")",
|
|
84
|
-
"Bash(fi:*)",
|
|
85
|
-
"Bash(if [ -z \"$VOLC_SECRET_ACCESS_KEY\" ])",
|
|
86
|
-
"Bash(then echo \"VOLC_SECRET_ACCESS_KEY is empty or not set\")",
|
|
87
|
-
"Bash(npm run)",
|
|
88
|
-
"Bash(chmod:*)",
|
|
89
|
-
"Bash(npm install:*)",
|
|
90
|
-
"Bash(npx vitest typecheck --run)",
|
|
91
|
-
"Read(//Users/camus/Work/interqat/interaqt-old/agentspace/**)",
|
|
92
|
-
"Read(//Users/camus/Work/interqat/interaqt-old/agentspace/**)",
|
|
93
|
-
"Bash(MODULE=basic)",
|
|
94
|
-
"Bash(jq:*)",
|
|
95
|
-
"Bash(if [[ \"$MODULE\" != \"basic\" ]])",
|
|
96
|
-
"Bash(if [ -f \"docs/basic.phase-1-error-check-report.md\" ])",
|
|
97
|
-
"Bash(then rm \"docs/basic.phase-1-error-check-report.md\")",
|
|
98
|
-
"Bash(else echo \"No existing error report found\")",
|
|
99
|
-
"Bash(rm:*)",
|
|
100
|
-
"Read(//Users/camus/Work/interqat/interaqt-old/examples/**)",
|
|
101
|
-
"Bash(for file in docs/basic.data-design.json docs/basic.computation-analysis.json docs/basic.computation-implementation-plan.json docs/basic.business-rules-and-permission-control-implementation-plan.json)",
|
|
102
|
-
"Bash(do if [ -f \"$file\" ])",
|
|
103
|
-
"Bash(done)",
|
|
104
|
-
"Bash(pgrep:*)",
|
|
105
|
-
"Bash(npm run build:frontend:dev:*)",
|
|
106
|
-
"Read(//Users/camus/Work/interqat/interaqt-old/examples/**)",
|
|
107
|
-
"Bash([:*)",
|
|
108
|
-
"Read(//Users/camus/Work/interqat/interaqt-old/examples/cms/backend/**)",
|
|
109
|
-
"Bash(if [ -f \"/Users/camus/Work/interqat/interaqt-old/examples/lit/docs/basic.task-3-error-check-report.md\" ])",
|
|
110
|
-
"Bash(else echo \"No existing report found\")",
|
|
111
|
-
"Bash(tsc:*)",
|
|
112
|
-
"Bash(timeout 10 npm start)",
|
|
113
|
-
"Bash(ln:*)",
|
|
114
|
-
"Bash(JWT_SECRET=dummy npm run generate-frontend-api)",
|
|
115
|
-
"Bash(npm search:*)",
|
|
116
|
-
"Bash(npm run typecheck)",
|
|
117
|
-
"Bash(paste:*)",
|
|
118
|
-
"Bash(MODULE=chat)",
|
|
119
|
-
"Bash(npm run setup:rocketmq:*)",
|
|
120
|
-
"Bash(npx tsx:*)",
|
|
121
|
-
"Bash(npm start)",
|
|
122
|
-
"Bash(tsx:*)",
|
|
123
|
-
"Bash(xargs kill:*)",
|
|
124
|
-
"Bash(for rel in \"BlendedImageVolcJimengCallRelation\" \"UserBlendedImageRelation\" \"PostBlendedImageRelation\" \"UserImageConsumptionRecordRelation\" \"BlendedImageConsumptionRelation\")",
|
|
125
|
-
"Bash(do echo \"$rel:\")",
|
|
126
|
-
"Bash(npm info @volcengine/openapi)",
|
|
127
|
-
"Bash(else echo \"VOLC_ACCESS_KEY_ID is set to: $VOLC_ACCESS_KEY_ID:0:10...\")",
|
|
128
|
-
"Bash(else echo \"VOLC_SECRET_ACCESS_KEY is set (length: $#VOLC_SECRET_ACCESS_KEY)\")",
|
|
129
|
-
"Bash(if [ -f .env ])",
|
|
130
|
-
"Bash(then cat .env)",
|
|
131
|
-
"Bash(else echo \".env file not found\")",
|
|
132
|
-
"Bash(JIMENG_REQ_KEY=cv_high_aes npx vitest run:*)",
|
|
133
|
-
"Bash(then grep -E \"VOLC_ACCESS_KEY_ID|VOLC_SECRET_ACCESS_KEY\" .env)",
|
|
134
|
-
"Bash(NODE_OPTIONS=\"--max-old-space-size=4096\" npm run test:*)",
|
|
135
|
-
"Bash(git log:*)",
|
|
136
|
-
"Bash(timeout 10 npm run dev:*)",
|
|
137
|
-
"Bash(mv:*)",
|
|
138
|
-
"Bash(timeout 180 npm run test:*)",
|
|
139
|
-
"Bash(npm run plan:integration)"
|
|
140
|
-
],
|
|
141
|
-
"deny": [],
|
|
142
|
-
"ask": [],
|
|
143
|
-
"additionalDirectories": [
|
|
144
|
-
"/Users/camus/Work/interqat/interaqt-old/examples/boilerplate/backend"
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { IInstance, BoolAtomDataInstance, BoolExpressionDataInstance } from '../../core';
|
|
2
|
-
export interface DataAttributivesInstance extends IInstance {
|
|
3
|
-
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
4
|
-
}
|
|
5
|
-
export interface DataAttributivesCreateArgs {
|
|
6
|
-
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
7
|
-
}
|
|
8
|
-
export declare class DataAttributives implements DataAttributivesInstance {
|
|
9
|
-
uuid: string;
|
|
10
|
-
_type: string;
|
|
11
|
-
_options?: {
|
|
12
|
-
uuid?: string;
|
|
13
|
-
};
|
|
14
|
-
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
15
|
-
constructor(args: DataAttributivesCreateArgs, options?: {
|
|
16
|
-
uuid?: string;
|
|
17
|
-
});
|
|
18
|
-
static isKlass: true;
|
|
19
|
-
static displayName: string;
|
|
20
|
-
static instances: DataAttributivesInstance[];
|
|
21
|
-
static public: {
|
|
22
|
-
content: {
|
|
23
|
-
type: readonly ["BoolExpressionData", "BoolAtomData"];
|
|
24
|
-
collection: false;
|
|
25
|
-
required: false;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
static create(args: DataAttributivesCreateArgs, options?: {
|
|
29
|
-
uuid?: string;
|
|
30
|
-
}): DataAttributivesInstance;
|
|
31
|
-
static stringify(instance: DataAttributivesInstance): string;
|
|
32
|
-
static clone(instance: DataAttributivesInstance, deep: boolean): DataAttributivesInstance;
|
|
33
|
-
static is(obj: unknown): obj is DataAttributivesInstance;
|
|
34
|
-
static check(data: unknown): boolean;
|
|
35
|
-
static parse(json: string): DataAttributivesInstance;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=DataAttributives.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataAttributives.d.ts","sourceRoot":"","sources":["../../../src/builtins/interaction/DataAttributives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoD,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,OAAO,CAAC;AAEtI,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,OAAO,CAAC,EAAE,0BAA0B,GAAG,oBAAoB,CAAC;CAC7D;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,CAAC,EAAE,0BAA0B,GAAG,oBAAoB,CAAC;CAC7D;AAED,qBAAa,gBAAiB,YAAW,wBAAwB;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAsB;IAC3B,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,0BAA0B,GAAG,oBAAoB,CAAC;gBAEvD,IAAI,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAOzE,MAAM,CAAC,OAAO,EAAG,IAAI,CAAU;IAC/B,MAAM,CAAC,WAAW,SAAsB;IACxC,MAAM,CAAC,SAAS,EAAE,wBAAwB,EAAE,CAAM;IAElD,MAAM,CAAC,MAAM;;;;;;MAMX;IAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,wBAAwB;IAatG,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,wBAAwB,GAAG,MAAM;IAa5D,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,wBAAwB,EAAE,IAAI,EAAE,OAAO,GAAG,wBAAwB;IAOvF,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,wBAAwB;IAIxD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,wBAAwB;CAIrD"}
|