@lumenflow/cli 3.17.7 → 3.18.1
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/README.md +44 -43
- package/dist/chunk-2D2VOCA4.js +37 -0
- package/dist/chunk-2D5KFYGX.js +284 -0
- package/dist/chunk-2GXVIN57.js +14072 -0
- package/dist/chunk-2MQ7HZWZ.js +26 -0
- package/dist/chunk-2UFQ3A3C.js +643 -0
- package/dist/chunk-3RG5ZIWI.js +10 -0
- package/dist/chunk-4N74J3UT.js +15 -0
- package/dist/chunk-5GTOXFYR.js +392 -0
- package/dist/chunk-5VY6MQMC.js +240 -0
- package/dist/chunk-67XVPMRY.js +1297 -0
- package/dist/chunk-6HO4GWJE.js +164 -0
- package/dist/chunk-6W5XHWYV.js +1890 -0
- package/dist/chunk-6X4EMYJQ.js +64 -0
- package/dist/chunk-6XYXI2NQ.js +772 -0
- package/dist/chunk-7ANSOV6Q.js +285 -0
- package/dist/chunk-A624LFLB.js +1380 -0
- package/dist/chunk-ADN5NHG4.js +126 -0
- package/dist/chunk-B7YJYJKG.js +33 -0
- package/dist/chunk-CCLHCPKG.js +210 -0
- package/dist/chunk-CK36VROC.js +1584 -0
- package/dist/chunk-D3UOFRSB.js +81 -0
- package/dist/chunk-DFR4DJBM.js +230 -0
- package/dist/chunk-DSYBDHYH.js +79 -0
- package/dist/chunk-DWMLTXKQ.js +1176 -0
- package/dist/chunk-E3REJTAJ.js +28 -0
- package/dist/chunk-EA3IVO64.js +633 -0
- package/dist/chunk-EK2AKZKD.js +55 -0
- package/dist/chunk-ELD7JTTT.js +343 -0
- package/dist/chunk-EX6TT2XI.js +195 -0
- package/dist/chunk-EXINSFZE.js +82 -0
- package/dist/chunk-EZ6ZBYBM.js +510 -0
- package/dist/chunk-FBKAPTJ2.js +16 -0
- package/dist/chunk-FVLV5RYH.js +1118 -0
- package/dist/chunk-GDNSBQVK.js +2485 -0
- package/dist/chunk-GPQHMBNN.js +278 -0
- package/dist/chunk-GTFJB67L.js +68 -0
- package/dist/chunk-HANJXVKW.js +1127 -0
- package/dist/chunk-HEVS5YLD.js +269 -0
- package/dist/chunk-HMEVZKPQ.js +9 -0
- package/dist/chunk-HRGSYNLM.js +3511 -0
- package/dist/chunk-ISZR5N4K.js +60 -0
- package/dist/chunk-J6SUPR2C.js +226 -0
- package/dist/chunk-JERYVEIZ.js +244 -0
- package/dist/chunk-JHHWGL2N.js +87 -0
- package/dist/chunk-JONWQUB5.js +775 -0
- package/dist/chunk-K2DIWWDM.js +1766 -0
- package/dist/chunk-KY4PGL5V.js +969 -0
- package/dist/chunk-L737LQ4C.js +1285 -0
- package/dist/chunk-LFTWYIB2.js +497 -0
- package/dist/chunk-LV47RFNJ.js +41 -0
- package/dist/chunk-MKSAITI7.js +15 -0
- package/dist/chunk-MZ7RKIX4.js +212 -0
- package/dist/chunk-NAP6CFSO.js +84 -0
- package/dist/chunk-ND6MY37M.js +16 -0
- package/dist/chunk-NMG736UR.js +683 -0
- package/dist/chunk-NRAXROED.js +32 -0
- package/dist/chunk-NRIZR3A7.js +690 -0
- package/dist/chunk-NX43BG3M.js +233 -0
- package/dist/chunk-O645XLSI.js +297 -0
- package/dist/chunk-OMJD6A3S.js +235 -0
- package/dist/chunk-QB6SJD4T.js +430 -0
- package/dist/chunk-QFSTL4J3.js +276 -0
- package/dist/chunk-QLGDFMFX.js +212 -0
- package/dist/chunk-RIAAGL2E.js +13 -0
- package/dist/chunk-RWO5XMZ6.js +86 -0
- package/dist/chunk-RXRKBBSM.js +149 -0
- package/dist/chunk-RZOZMML6.js +363 -0
- package/dist/chunk-U7I7FS7T.js +113 -0
- package/dist/chunk-UI42RODY.js +717 -0
- package/dist/chunk-UTVMVSCO.js +519 -0
- package/dist/chunk-V6OJGLBA.js +1746 -0
- package/dist/chunk-W2JHVH7D.js +152 -0
- package/dist/chunk-WD3Y7VQN.js +280 -0
- package/dist/chunk-WOCTQ5MS.js +303 -0
- package/dist/chunk-WZR3ZUNN.js +696 -0
- package/dist/chunk-XGI665H7.js +150 -0
- package/dist/chunk-XKY65P2T.js +304 -0
- package/dist/chunk-Y4CQZY65.js +57 -0
- package/dist/chunk-YFEXKLVE.js +194 -0
- package/dist/chunk-YHO3HS5X.js +287 -0
- package/dist/chunk-YLS7AZSX.js +738 -0
- package/dist/chunk-ZE473AO6.js +49 -0
- package/dist/chunk-ZF747T3O.js +644 -0
- package/dist/chunk-ZHCZHZH3.js +43 -0
- package/dist/chunk-ZZNZX2XY.js +87 -0
- package/dist/config-set.js +10 -1
- package/dist/config-set.js.map +1 -1
- package/dist/constants-7QAP3VQ4.js +23 -0
- package/dist/dist-IY3UUMWK.js +33 -0
- package/dist/gate-co-change.js +5 -2
- package/dist/gate-co-change.js.map +1 -1
- package/dist/init-detection.js +5 -3
- package/dist/init-detection.js.map +1 -1
- package/dist/init-templates.js +4 -4
- package/dist/init-templates.js.map +1 -1
- package/dist/initiative-edit.js +8 -3
- package/dist/initiative-edit.js.map +1 -1
- package/dist/initiative-plan.js +1 -1
- package/dist/initiative-plan.js.map +1 -1
- package/dist/invariants-runner-W5RGHCSU.js +27 -0
- package/dist/lane-lock-6J36HD5O.js +35 -0
- package/dist/lumenflow-upgrade.js +49 -0
- package/dist/lumenflow-upgrade.js.map +1 -1
- package/dist/mem-checkpoint-core-EANG2GVN.js +14 -0
- package/dist/mem-signal-core-2LZ2WYHW.js +19 -0
- package/dist/memory-store-OLB5FO7K.js +18 -0
- package/dist/pre-commit-check.js +1 -1
- package/dist/pre-commit-check.js.map +1 -1
- package/dist/service-6BYCOCO5.js +13 -0
- package/dist/spawn-policy-resolver-NTSZYQ6R.js +17 -0
- package/dist/spawn-task-builder-R4E2BHSW.js +22 -0
- package/dist/wu-done-pr-WLFFFEPJ.js +25 -0
- package/dist/wu-done-validation-3J5E36FE.js +30 -0
- package/dist/wu-duplicate-id-detector-5S7JHELK.js +232 -0
- package/dist/wu-edit-operations.js +4 -0
- package/dist/wu-edit-operations.js.map +1 -1
- package/dist/wu-edit-validators.js +4 -0
- package/dist/wu-edit-validators.js.map +1 -1
- package/dist/wu-edit.js +11 -0
- package/dist/wu-edit.js.map +1 -1
- package/dist/wu-spawn-strategy-resolver.js +13 -1
- package/dist/wu-spawn-strategy-resolver.js.map +1 -1
- package/package.json +8 -8
- package/packs/agent-runtime/.turbo/turbo-build.log +4 -0
- package/packs/agent-runtime/README.md +147 -0
- package/packs/agent-runtime/capability-factory.ts +104 -0
- package/packs/agent-runtime/config.schema.json +87 -0
- package/packs/agent-runtime/constants.ts +21 -0
- package/packs/agent-runtime/index.ts +11 -0
- package/packs/agent-runtime/manifest.ts +207 -0
- package/packs/agent-runtime/manifest.yaml +193 -0
- package/packs/agent-runtime/orchestration.ts +1787 -0
- package/packs/agent-runtime/pack-registration.ts +110 -0
- package/packs/agent-runtime/package.json +57 -0
- package/packs/agent-runtime/policy-factory.ts +165 -0
- package/packs/agent-runtime/tool-impl/agent-turn-tools.ts +793 -0
- package/packs/agent-runtime/tool-impl/index.ts +5 -0
- package/packs/agent-runtime/tool-impl/provider-adapters.ts +1245 -0
- package/packs/agent-runtime/tools/index.ts +4 -0
- package/packs/agent-runtime/tools/types.ts +47 -0
- package/packs/agent-runtime/tsconfig.json +20 -0
- package/packs/agent-runtime/types.ts +128 -0
- package/packs/agent-runtime/vitest.config.ts +11 -0
- package/packs/sidekick/.turbo/turbo-build.log +1 -1
- package/packs/sidekick/.turbo/turbo-test.log +12 -0
- package/packs/sidekick/.turbo/turbo-typecheck.log +4 -0
- package/packs/sidekick/package.json +1 -1
- package/packs/software-delivery/.turbo/turbo-build.log +1 -1
- package/packs/software-delivery/.turbo/turbo-typecheck.log +4 -0
- package/packs/software-delivery/package.json +1 -1
- package/templates/core/.lumenflow/rules/wu-workflow.md.template +1 -1
- package/templates/core/ai/onboarding/first-wu-mistakes.md.template +2 -2
- package/templates/core/ai/onboarding/quick-ref-commands.md.template +1 -1
- package/templates/core/ai/onboarding/starting-prompt.md.template +1 -1
- package/templates/vendors/claude/.claude/skills/frontend-design/SKILL.md.template +1 -1
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
id: agent-runtime
|
|
2
|
+
version: 0.1.0
|
|
3
|
+
config_key: agent_runtime
|
|
4
|
+
config_schema: config.schema.json
|
|
5
|
+
capability_factory: capability-factory.ts#createAgentRuntimeCapabilityFactory
|
|
6
|
+
policy_factory: policy-factory.ts#createAgentRuntimePolicyFactory
|
|
7
|
+
task_types:
|
|
8
|
+
- agent-session
|
|
9
|
+
tools:
|
|
10
|
+
- name: agent:execute-turn
|
|
11
|
+
entry: tool-impl/agent-turn-tools.ts#agentExecuteTurnTool
|
|
12
|
+
permission: write
|
|
13
|
+
required_scopes:
|
|
14
|
+
- type: path
|
|
15
|
+
pattern: .agent-runtime/**
|
|
16
|
+
access: read
|
|
17
|
+
- type: path
|
|
18
|
+
pattern: .agent-runtime/**
|
|
19
|
+
access: write
|
|
20
|
+
- type: network
|
|
21
|
+
posture: allowlist
|
|
22
|
+
allowlist_entries:
|
|
23
|
+
- model-provider.invalid:443
|
|
24
|
+
required_env:
|
|
25
|
+
- AGENT_RUNTIME_API_KEY
|
|
26
|
+
- AGENT_RUNTIME_BASE_URL
|
|
27
|
+
input_schema:
|
|
28
|
+
type: object
|
|
29
|
+
properties:
|
|
30
|
+
session_id:
|
|
31
|
+
type: string
|
|
32
|
+
minLength: 1
|
|
33
|
+
model_profile:
|
|
34
|
+
type: string
|
|
35
|
+
minLength: 1
|
|
36
|
+
url:
|
|
37
|
+
type: string
|
|
38
|
+
enum:
|
|
39
|
+
- https://model-provider.invalid/
|
|
40
|
+
stream:
|
|
41
|
+
type: boolean
|
|
42
|
+
messages:
|
|
43
|
+
type: array
|
|
44
|
+
minItems: 1
|
|
45
|
+
items:
|
|
46
|
+
type: object
|
|
47
|
+
properties:
|
|
48
|
+
role:
|
|
49
|
+
type: string
|
|
50
|
+
enum:
|
|
51
|
+
- system
|
|
52
|
+
- user
|
|
53
|
+
- assistant
|
|
54
|
+
- tool
|
|
55
|
+
content:
|
|
56
|
+
type: string
|
|
57
|
+
tool_name:
|
|
58
|
+
type: string
|
|
59
|
+
tool_call_id:
|
|
60
|
+
type: string
|
|
61
|
+
required:
|
|
62
|
+
- role
|
|
63
|
+
- content
|
|
64
|
+
additionalProperties: false
|
|
65
|
+
tool_catalog:
|
|
66
|
+
type: array
|
|
67
|
+
items:
|
|
68
|
+
type: object
|
|
69
|
+
properties:
|
|
70
|
+
name:
|
|
71
|
+
type: string
|
|
72
|
+
minLength: 1
|
|
73
|
+
description:
|
|
74
|
+
type: string
|
|
75
|
+
minLength: 1
|
|
76
|
+
input_schema:
|
|
77
|
+
type: object
|
|
78
|
+
additionalProperties: true
|
|
79
|
+
required:
|
|
80
|
+
- name
|
|
81
|
+
- description
|
|
82
|
+
additionalProperties: false
|
|
83
|
+
intent_catalog:
|
|
84
|
+
type: array
|
|
85
|
+
items:
|
|
86
|
+
type: object
|
|
87
|
+
properties:
|
|
88
|
+
id:
|
|
89
|
+
type: string
|
|
90
|
+
minLength: 1
|
|
91
|
+
description:
|
|
92
|
+
type: string
|
|
93
|
+
minLength: 1
|
|
94
|
+
required:
|
|
95
|
+
- id
|
|
96
|
+
- description
|
|
97
|
+
additionalProperties: false
|
|
98
|
+
limits:
|
|
99
|
+
type: object
|
|
100
|
+
properties:
|
|
101
|
+
max_turns_per_session:
|
|
102
|
+
type: integer
|
|
103
|
+
minimum: 1
|
|
104
|
+
max_tool_calls_per_session:
|
|
105
|
+
type: integer
|
|
106
|
+
minimum: 1
|
|
107
|
+
max_input_bytes:
|
|
108
|
+
type: integer
|
|
109
|
+
minimum: 1
|
|
110
|
+
additionalProperties: false
|
|
111
|
+
required:
|
|
112
|
+
- session_id
|
|
113
|
+
- model_profile
|
|
114
|
+
- url
|
|
115
|
+
- messages
|
|
116
|
+
additionalProperties: false
|
|
117
|
+
output_schema:
|
|
118
|
+
type: object
|
|
119
|
+
properties:
|
|
120
|
+
status:
|
|
121
|
+
type: string
|
|
122
|
+
enum:
|
|
123
|
+
- reply
|
|
124
|
+
- tool_request
|
|
125
|
+
- complete
|
|
126
|
+
- escalate
|
|
127
|
+
intent:
|
|
128
|
+
type: string
|
|
129
|
+
minLength: 1
|
|
130
|
+
assistant_message:
|
|
131
|
+
type: string
|
|
132
|
+
requested_tool:
|
|
133
|
+
type: object
|
|
134
|
+
properties:
|
|
135
|
+
name:
|
|
136
|
+
type: string
|
|
137
|
+
minLength: 1
|
|
138
|
+
input:
|
|
139
|
+
type: object
|
|
140
|
+
additionalProperties: true
|
|
141
|
+
required:
|
|
142
|
+
- name
|
|
143
|
+
- input
|
|
144
|
+
additionalProperties: false
|
|
145
|
+
provider:
|
|
146
|
+
type: object
|
|
147
|
+
properties:
|
|
148
|
+
kind:
|
|
149
|
+
type: string
|
|
150
|
+
enum:
|
|
151
|
+
- openai_compatible
|
|
152
|
+
- messages_compatible
|
|
153
|
+
model:
|
|
154
|
+
type: string
|
|
155
|
+
minLength: 1
|
|
156
|
+
required:
|
|
157
|
+
- kind
|
|
158
|
+
- model
|
|
159
|
+
additionalProperties: false
|
|
160
|
+
usage:
|
|
161
|
+
type: object
|
|
162
|
+
properties:
|
|
163
|
+
input_tokens:
|
|
164
|
+
type: integer
|
|
165
|
+
minimum: 0
|
|
166
|
+
output_tokens:
|
|
167
|
+
type: integer
|
|
168
|
+
minimum: 0
|
|
169
|
+
total_tokens:
|
|
170
|
+
type: integer
|
|
171
|
+
minimum: 0
|
|
172
|
+
additionalProperties: false
|
|
173
|
+
finish_reason:
|
|
174
|
+
type: string
|
|
175
|
+
minLength: 1
|
|
176
|
+
required:
|
|
177
|
+
- status
|
|
178
|
+
- intent
|
|
179
|
+
- assistant_message
|
|
180
|
+
- provider
|
|
181
|
+
- finish_reason
|
|
182
|
+
additionalProperties: false
|
|
183
|
+
policies:
|
|
184
|
+
- id: agent-runtime.policy.default
|
|
185
|
+
trigger: on_tool_request
|
|
186
|
+
decision: allow
|
|
187
|
+
reason: Pack baseline allow; dynamic intent gating is applied by the pack policy factory.
|
|
188
|
+
evidence_types:
|
|
189
|
+
- agent-runtime.turn
|
|
190
|
+
- agent-runtime.provider-call
|
|
191
|
+
state_aliases:
|
|
192
|
+
paused: waiting
|
|
193
|
+
lane_templates: []
|