@genesislcap/ai-assistant 15.78.0 → 15.78.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/dist/ai-assistant.api.json +64 -4
- package/dist/ai-assistant.d.ts +32 -9
- package/dist/chat-driver.cjs.map +1 -1
- package/dist/chat-driver.mjs.map +1 -1
- package/dist/custom-elements.json +568 -440
- package/dist/dts/config/config.d.ts +2 -2
- package/dist/dts/config/define-stateful-agent.d.ts +1 -1
- package/dist/dts/main/main.d.ts +23 -5
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/state/ai-assistant-slice.d.ts +4 -5
- package/dist/dts/state/ai-assistant-slice.d.ts.map +1 -1
- package/dist/dts/state/persistence/session-persister.d.ts.map +1 -1
- package/dist/dts/state/persistence/session-snapshot.d.ts +19 -6
- package/dist/dts/state/persistence/session-snapshot.d.ts.map +1 -1
- package/dist/dts/state/session-store.d.ts.map +1 -1
- package/dist/dts/utils/attachment-note.d.ts +18 -0
- package/dist/dts/utils/attachment-note.d.ts.map +1 -0
- package/dist/esm/main/main.js +58 -15
- package/dist/esm/main/main.template.js +2 -2
- package/dist/esm/state/persistence/session-persister.js +24 -21
- package/dist/esm/state/persistence/session-snapshot.js +20 -7
- package/dist/esm/utils/attachment-note.js +19 -0
- package/docs/styling.md +1 -1
- package/package.json +17 -17
- package/sandbox/fixtures.ts +3 -3
|
@@ -4157,6 +4157,237 @@
|
|
|
4157
4157
|
}
|
|
4158
4158
|
]
|
|
4159
4159
|
},
|
|
4160
|
+
{
|
|
4161
|
+
"kind": "javascript-module",
|
|
4162
|
+
"path": "src/config/config.ts",
|
|
4163
|
+
"declarations": [
|
|
4164
|
+
{
|
|
4165
|
+
"kind": "function",
|
|
4166
|
+
"name": "defineAgent",
|
|
4167
|
+
"description": "Identity helper that infers the narrowest possible type for an agent config,\npreserving string literal types (including `name`) without requiring `as const`.\n\nUse this when you need `typeof myAgent` to carry the literal `name` type —\nfor example, when wiring `ChatToolHandlers<typeof myAgent>`.\n\n```ts\nconst myAgent = defineAgent({ name: 'my_agent', ... });\ntype Handlers = ChatToolHandlers<typeof myAgent>;\n// requestSubAgent name param is now typed as 'my_agent'\n```"
|
|
4168
|
+
}
|
|
4169
|
+
],
|
|
4170
|
+
"exports": [
|
|
4171
|
+
{
|
|
4172
|
+
"kind": "js",
|
|
4173
|
+
"name": "CachePolicy",
|
|
4174
|
+
"declaration": {
|
|
4175
|
+
"name": "CachePolicy",
|
|
4176
|
+
"module": "src/config/config.ts"
|
|
4177
|
+
}
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
"kind": "js",
|
|
4181
|
+
"name": "ChatFallback",
|
|
4182
|
+
"declaration": {
|
|
4183
|
+
"name": "ChatFallback",
|
|
4184
|
+
"module": "src/config/config.ts"
|
|
4185
|
+
}
|
|
4186
|
+
},
|
|
4187
|
+
{
|
|
4188
|
+
"kind": "js",
|
|
4189
|
+
"name": "ChatInputDuringExecutionMode",
|
|
4190
|
+
"declaration": {
|
|
4191
|
+
"name": "ChatInputDuringExecutionMode",
|
|
4192
|
+
"module": "src/config/config.ts"
|
|
4193
|
+
}
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"kind": "js",
|
|
4197
|
+
"name": "ChatThinkingPolicy",
|
|
4198
|
+
"declaration": {
|
|
4199
|
+
"name": "ChatThinkingPolicy",
|
|
4200
|
+
"module": "src/config/config.ts"
|
|
4201
|
+
}
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
"kind": "js",
|
|
4205
|
+
"name": "ChatToolChoice",
|
|
4206
|
+
"declaration": {
|
|
4207
|
+
"name": "ChatToolChoice",
|
|
4208
|
+
"module": "src/config/config.ts"
|
|
4209
|
+
}
|
|
4210
|
+
},
|
|
4211
|
+
{
|
|
4212
|
+
"kind": "js",
|
|
4213
|
+
"name": "defineAgent",
|
|
4214
|
+
"declaration": {
|
|
4215
|
+
"name": "defineAgent",
|
|
4216
|
+
"module": "src/config/config.ts"
|
|
4217
|
+
}
|
|
4218
|
+
}
|
|
4219
|
+
]
|
|
4220
|
+
},
|
|
4221
|
+
{
|
|
4222
|
+
"kind": "javascript-module",
|
|
4223
|
+
"path": "src/config/define-stateful-agent.ts",
|
|
4224
|
+
"declarations": [
|
|
4225
|
+
{
|
|
4226
|
+
"kind": "function",
|
|
4227
|
+
"name": "restoreMachine",
|
|
4228
|
+
"return": {
|
|
4229
|
+
"type": {
|
|
4230
|
+
"text": "void"
|
|
4231
|
+
}
|
|
4232
|
+
},
|
|
4233
|
+
"parameters": [
|
|
4234
|
+
{
|
|
4235
|
+
"name": "machine",
|
|
4236
|
+
"type": {
|
|
4237
|
+
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
4238
|
+
},
|
|
4239
|
+
"description": "the machine to restore (already constructed/started)."
|
|
4240
|
+
},
|
|
4241
|
+
{
|
|
4242
|
+
"name": "restored",
|
|
4243
|
+
"type": {
|
|
4244
|
+
"text": "unknown"
|
|
4245
|
+
},
|
|
4246
|
+
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
"name": "key",
|
|
4250
|
+
"default": "'machine'",
|
|
4251
|
+
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
4252
|
+
}
|
|
4253
|
+
],
|
|
4254
|
+
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"kind": "function",
|
|
4258
|
+
"name": "defineStatefulAgent",
|
|
4259
|
+
"return": {
|
|
4260
|
+
"type": {
|
|
4261
|
+
"text": "AgentConfig"
|
|
4262
|
+
}
|
|
4263
|
+
},
|
|
4264
|
+
"parameters": [
|
|
4265
|
+
{
|
|
4266
|
+
"name": "opts",
|
|
4267
|
+
"type": {
|
|
4268
|
+
"text": "StatefulAgentInit<S>"
|
|
4269
|
+
}
|
|
4270
|
+
}
|
|
4271
|
+
],
|
|
4272
|
+
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
4273
|
+
},
|
|
4274
|
+
{
|
|
4275
|
+
"kind": "function",
|
|
4276
|
+
"name": "defineAutopilot",
|
|
4277
|
+
"return": {
|
|
4278
|
+
"type": {
|
|
4279
|
+
"text": "AutopilotConfig<S>"
|
|
4280
|
+
}
|
|
4281
|
+
},
|
|
4282
|
+
"parameters": [
|
|
4283
|
+
{
|
|
4284
|
+
"name": "config",
|
|
4285
|
+
"type": {
|
|
4286
|
+
"text": "AutopilotConfig<S>"
|
|
4287
|
+
}
|
|
4288
|
+
}
|
|
4289
|
+
],
|
|
4290
|
+
"description": "Define an autopilot for a stateful agent whose state is `S` (GENC-1660). An identity function\nthat exists for its type: the resolvers get `S`, and the result goes on `defineStatefulAgent`'s\n`autopilot` option."
|
|
4291
|
+
}
|
|
4292
|
+
],
|
|
4293
|
+
"exports": [
|
|
4294
|
+
{
|
|
4295
|
+
"kind": "js",
|
|
4296
|
+
"name": "restoreMachine",
|
|
4297
|
+
"declaration": {
|
|
4298
|
+
"name": "restoreMachine",
|
|
4299
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
4300
|
+
}
|
|
4301
|
+
},
|
|
4302
|
+
{
|
|
4303
|
+
"kind": "js",
|
|
4304
|
+
"name": "defineStatefulAgent",
|
|
4305
|
+
"declaration": {
|
|
4306
|
+
"name": "defineStatefulAgent",
|
|
4307
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
4308
|
+
}
|
|
4309
|
+
},
|
|
4310
|
+
{
|
|
4311
|
+
"kind": "js",
|
|
4312
|
+
"name": "defineAutopilot",
|
|
4313
|
+
"declaration": {
|
|
4314
|
+
"name": "defineAutopilot",
|
|
4315
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
4316
|
+
}
|
|
4317
|
+
}
|
|
4318
|
+
]
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
"kind": "javascript-module",
|
|
4322
|
+
"path": "src/config/fallback-agents.ts",
|
|
4323
|
+
"declarations": [
|
|
4324
|
+
{
|
|
4325
|
+
"kind": "variable",
|
|
4326
|
+
"name": "friendlyFallbackAgent",
|
|
4327
|
+
"type": {
|
|
4328
|
+
"text": "FallbackAgentConfig"
|
|
4329
|
+
},
|
|
4330
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a warm, friendly assistant. For general conversation like \"Hi\" or \"How are you\", you can have a friendly chat. For anything more complex, you cannot directly help, but you can explain what specialists are available. The available specialists are:\\n\\n{{agents}}\\n\\nPolitely let the user know what you can help with and invite them to rephrase their request if it is outside your scope.`,\n}",
|
|
4331
|
+
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
4332
|
+
},
|
|
4333
|
+
{
|
|
4334
|
+
"kind": "variable",
|
|
4335
|
+
"name": "strictFallbackAgent",
|
|
4336
|
+
"type": {
|
|
4337
|
+
"text": "FallbackAgentConfig"
|
|
4338
|
+
},
|
|
4339
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. The available specialists are: {{agents}}.\n\n{{unroutable}}\n\nAnswer in a single short sentence. Do not elaborate.`,\n}",
|
|
4340
|
+
"description": "A brief, professional fallback agent. States what is available without\nelaboration. The `{{agents}}` placeholder is replaced at runtime by\n`OrchestratingDriver` with the generated specialist list.\n\nThe `{{unroutable}}` placeholder positions `UNROUTABLE_INSTRUCTION` — the framework's\ninstruction for a substantive request no specialist covers, which is otherwise APPENDED to a\nstring-form prompt. Positioned rather than appended for one reason: this preset's whole point is\nbrevity, and appended text would be the last thing the model reads. Putting the block above the\nbrevity rule leaves \"a single short sentence\" with the recency, so the two compose instead of\ncompeting. A prompt whose tone rules matter should do the same."
|
|
4341
|
+
}
|
|
4342
|
+
],
|
|
4343
|
+
"exports": [
|
|
4344
|
+
{
|
|
4345
|
+
"kind": "js",
|
|
4346
|
+
"name": "friendlyFallbackAgent",
|
|
4347
|
+
"declaration": {
|
|
4348
|
+
"name": "friendlyFallbackAgent",
|
|
4349
|
+
"module": "src/config/fallback-agents.ts"
|
|
4350
|
+
}
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
"kind": "js",
|
|
4354
|
+
"name": "strictFallbackAgent",
|
|
4355
|
+
"declaration": {
|
|
4356
|
+
"name": "strictFallbackAgent",
|
|
4357
|
+
"module": "src/config/fallback-agents.ts"
|
|
4358
|
+
}
|
|
4359
|
+
}
|
|
4360
|
+
]
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
"kind": "javascript-module",
|
|
4364
|
+
"path": "src/config/index.ts",
|
|
4365
|
+
"declarations": [],
|
|
4366
|
+
"exports": [
|
|
4367
|
+
{
|
|
4368
|
+
"kind": "js",
|
|
4369
|
+
"name": "*",
|
|
4370
|
+
"declaration": {
|
|
4371
|
+
"name": "*",
|
|
4372
|
+
"package": "./config"
|
|
4373
|
+
}
|
|
4374
|
+
},
|
|
4375
|
+
{
|
|
4376
|
+
"kind": "js",
|
|
4377
|
+
"name": "*",
|
|
4378
|
+
"declaration": {
|
|
4379
|
+
"name": "*",
|
|
4380
|
+
"package": "./fallback-agents"
|
|
4381
|
+
}
|
|
4382
|
+
}
|
|
4383
|
+
]
|
|
4384
|
+
},
|
|
4385
|
+
{
|
|
4386
|
+
"kind": "javascript-module",
|
|
4387
|
+
"path": "src/config/validate-providers.ts",
|
|
4388
|
+
"declarations": [],
|
|
4389
|
+
"exports": []
|
|
4390
|
+
},
|
|
4160
4391
|
{
|
|
4161
4392
|
"kind": "javascript-module",
|
|
4162
4393
|
"path": "src/components/flowing-waves-indicator.ts",
|
|
@@ -4647,271 +4878,40 @@
|
|
|
4647
4878
|
"text": "number"
|
|
4648
4879
|
},
|
|
4649
4880
|
"default": "WAVES_DEFAULT_SIZE",
|
|
4650
|
-
"description": "Diameter of the circular window in px. Default: 56.",
|
|
4651
|
-
"resolveInitializer": {
|
|
4652
|
-
"module": "src/components/waves-indicator.ts"
|
|
4653
|
-
},
|
|
4654
|
-
"fieldName": "size"
|
|
4655
|
-
}
|
|
4656
|
-
],
|
|
4657
|
-
"superclass": {
|
|
4658
|
-
"name": "GenesisElement",
|
|
4659
|
-
"package": "@genesislcap/web-core"
|
|
4660
|
-
},
|
|
4661
|
-
"tagName": "ai-waves-indicator",
|
|
4662
|
-
"customElement": true
|
|
4663
|
-
}
|
|
4664
|
-
],
|
|
4665
|
-
"exports": [
|
|
4666
|
-
{
|
|
4667
|
-
"kind": "js",
|
|
4668
|
-
"name": "AiWavesIndicator",
|
|
4669
|
-
"declaration": {
|
|
4670
|
-
"name": "AiWavesIndicator",
|
|
4671
|
-
"module": "src/components/waves-indicator.ts"
|
|
4672
|
-
}
|
|
4673
|
-
},
|
|
4674
|
-
{
|
|
4675
|
-
"kind": "custom-element-definition",
|
|
4676
|
-
"name": "ai-waves-indicator",
|
|
4677
|
-
"declaration": {
|
|
4678
|
-
"name": "AiWavesIndicator",
|
|
4679
|
-
"module": "src/components/waves-indicator.ts"
|
|
4680
|
-
}
|
|
4681
|
-
}
|
|
4682
|
-
]
|
|
4683
|
-
},
|
|
4684
|
-
{
|
|
4685
|
-
"kind": "javascript-module",
|
|
4686
|
-
"path": "src/config/config.ts",
|
|
4687
|
-
"declarations": [
|
|
4688
|
-
{
|
|
4689
|
-
"kind": "function",
|
|
4690
|
-
"name": "defineAgent",
|
|
4691
|
-
"description": "Identity helper that infers the narrowest possible type for an agent config,\npreserving string literal types (including `name`) without requiring `as const`.\n\nUse this when you need `typeof myAgent` to carry the literal `name` type —\nfor example, when wiring `ChatToolHandlers<typeof myAgent>`.\n\n```ts\nconst myAgent = defineAgent({ name: 'my_agent', ... });\ntype Handlers = ChatToolHandlers<typeof myAgent>;\n// requestSubAgent name param is now typed as 'my_agent'\n```"
|
|
4692
|
-
}
|
|
4693
|
-
],
|
|
4694
|
-
"exports": [
|
|
4695
|
-
{
|
|
4696
|
-
"kind": "js",
|
|
4697
|
-
"name": "CachePolicy",
|
|
4698
|
-
"declaration": {
|
|
4699
|
-
"name": "CachePolicy",
|
|
4700
|
-
"module": "src/config/config.ts"
|
|
4701
|
-
}
|
|
4702
|
-
},
|
|
4703
|
-
{
|
|
4704
|
-
"kind": "js",
|
|
4705
|
-
"name": "ChatFallback",
|
|
4706
|
-
"declaration": {
|
|
4707
|
-
"name": "ChatFallback",
|
|
4708
|
-
"module": "src/config/config.ts"
|
|
4709
|
-
}
|
|
4710
|
-
},
|
|
4711
|
-
{
|
|
4712
|
-
"kind": "js",
|
|
4713
|
-
"name": "ChatInputDuringExecutionMode",
|
|
4714
|
-
"declaration": {
|
|
4715
|
-
"name": "ChatInputDuringExecutionMode",
|
|
4716
|
-
"module": "src/config/config.ts"
|
|
4717
|
-
}
|
|
4718
|
-
},
|
|
4719
|
-
{
|
|
4720
|
-
"kind": "js",
|
|
4721
|
-
"name": "ChatThinkingPolicy",
|
|
4722
|
-
"declaration": {
|
|
4723
|
-
"name": "ChatThinkingPolicy",
|
|
4724
|
-
"module": "src/config/config.ts"
|
|
4725
|
-
}
|
|
4726
|
-
},
|
|
4727
|
-
{
|
|
4728
|
-
"kind": "js",
|
|
4729
|
-
"name": "ChatToolChoice",
|
|
4730
|
-
"declaration": {
|
|
4731
|
-
"name": "ChatToolChoice",
|
|
4732
|
-
"module": "src/config/config.ts"
|
|
4733
|
-
}
|
|
4734
|
-
},
|
|
4735
|
-
{
|
|
4736
|
-
"kind": "js",
|
|
4737
|
-
"name": "defineAgent",
|
|
4738
|
-
"declaration": {
|
|
4739
|
-
"name": "defineAgent",
|
|
4740
|
-
"module": "src/config/config.ts"
|
|
4741
|
-
}
|
|
4742
|
-
}
|
|
4743
|
-
]
|
|
4744
|
-
},
|
|
4745
|
-
{
|
|
4746
|
-
"kind": "javascript-module",
|
|
4747
|
-
"path": "src/config/define-stateful-agent.ts",
|
|
4748
|
-
"declarations": [
|
|
4749
|
-
{
|
|
4750
|
-
"kind": "function",
|
|
4751
|
-
"name": "restoreMachine",
|
|
4752
|
-
"return": {
|
|
4753
|
-
"type": {
|
|
4754
|
-
"text": "void"
|
|
4755
|
-
}
|
|
4756
|
-
},
|
|
4757
|
-
"parameters": [
|
|
4758
|
-
{
|
|
4759
|
-
"name": "machine",
|
|
4760
|
-
"type": {
|
|
4761
|
-
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
4762
|
-
},
|
|
4763
|
-
"description": "the machine to restore (already constructed/started)."
|
|
4764
|
-
},
|
|
4765
|
-
{
|
|
4766
|
-
"name": "restored",
|
|
4767
|
-
"type": {
|
|
4768
|
-
"text": "unknown"
|
|
4769
|
-
},
|
|
4770
|
-
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
4771
|
-
},
|
|
4772
|
-
{
|
|
4773
|
-
"name": "key",
|
|
4774
|
-
"default": "'machine'",
|
|
4775
|
-
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
4776
|
-
}
|
|
4777
|
-
],
|
|
4778
|
-
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
4779
|
-
},
|
|
4780
|
-
{
|
|
4781
|
-
"kind": "function",
|
|
4782
|
-
"name": "defineStatefulAgent",
|
|
4783
|
-
"return": {
|
|
4784
|
-
"type": {
|
|
4785
|
-
"text": "AgentConfig"
|
|
4786
|
-
}
|
|
4787
|
-
},
|
|
4788
|
-
"parameters": [
|
|
4789
|
-
{
|
|
4790
|
-
"name": "opts",
|
|
4791
|
-
"type": {
|
|
4792
|
-
"text": "StatefulAgentInit<S>"
|
|
4793
|
-
}
|
|
4794
|
-
}
|
|
4795
|
-
],
|
|
4796
|
-
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
4797
|
-
},
|
|
4798
|
-
{
|
|
4799
|
-
"kind": "function",
|
|
4800
|
-
"name": "defineAutopilot",
|
|
4801
|
-
"return": {
|
|
4802
|
-
"type": {
|
|
4803
|
-
"text": "AutopilotConfig<S>"
|
|
4804
|
-
}
|
|
4805
|
-
},
|
|
4806
|
-
"parameters": [
|
|
4807
|
-
{
|
|
4808
|
-
"name": "config",
|
|
4809
|
-
"type": {
|
|
4810
|
-
"text": "AutopilotConfig<S>"
|
|
4811
|
-
}
|
|
4812
|
-
}
|
|
4813
|
-
],
|
|
4814
|
-
"description": "Define an autopilot for a stateful agent whose state is `S` (GENC-1660). An identity function\nthat exists for its type: the resolvers get `S`, and the result goes on `defineStatefulAgent`'s\n`autopilot` option."
|
|
4815
|
-
}
|
|
4816
|
-
],
|
|
4817
|
-
"exports": [
|
|
4818
|
-
{
|
|
4819
|
-
"kind": "js",
|
|
4820
|
-
"name": "restoreMachine",
|
|
4821
|
-
"declaration": {
|
|
4822
|
-
"name": "restoreMachine",
|
|
4823
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
4824
|
-
}
|
|
4825
|
-
},
|
|
4826
|
-
{
|
|
4827
|
-
"kind": "js",
|
|
4828
|
-
"name": "defineStatefulAgent",
|
|
4829
|
-
"declaration": {
|
|
4830
|
-
"name": "defineStatefulAgent",
|
|
4831
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
4832
|
-
}
|
|
4833
|
-
},
|
|
4834
|
-
{
|
|
4835
|
-
"kind": "js",
|
|
4836
|
-
"name": "defineAutopilot",
|
|
4837
|
-
"declaration": {
|
|
4838
|
-
"name": "defineAutopilot",
|
|
4839
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
4840
|
-
}
|
|
4841
|
-
}
|
|
4842
|
-
]
|
|
4843
|
-
},
|
|
4844
|
-
{
|
|
4845
|
-
"kind": "javascript-module",
|
|
4846
|
-
"path": "src/config/fallback-agents.ts",
|
|
4847
|
-
"declarations": [
|
|
4848
|
-
{
|
|
4849
|
-
"kind": "variable",
|
|
4850
|
-
"name": "friendlyFallbackAgent",
|
|
4851
|
-
"type": {
|
|
4852
|
-
"text": "FallbackAgentConfig"
|
|
4853
|
-
},
|
|
4854
|
-
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a warm, friendly assistant. For general conversation like \"Hi\" or \"How are you\", you can have a friendly chat. For anything more complex, you cannot directly help, but you can explain what specialists are available. The available specialists are:\\n\\n{{agents}}\\n\\nPolitely let the user know what you can help with and invite them to rephrase their request if it is outside your scope.`,\n}",
|
|
4855
|
-
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
4856
|
-
},
|
|
4857
|
-
{
|
|
4858
|
-
"kind": "variable",
|
|
4859
|
-
"name": "strictFallbackAgent",
|
|
4860
|
-
"type": {
|
|
4861
|
-
"text": "FallbackAgentConfig"
|
|
4862
|
-
},
|
|
4863
|
-
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. The available specialists are: {{agents}}.\n\n{{unroutable}}\n\nAnswer in a single short sentence. Do not elaborate.`,\n}",
|
|
4864
|
-
"description": "A brief, professional fallback agent. States what is available without\nelaboration. The `{{agents}}` placeholder is replaced at runtime by\n`OrchestratingDriver` with the generated specialist list.\n\nThe `{{unroutable}}` placeholder positions `UNROUTABLE_INSTRUCTION` — the framework's\ninstruction for a substantive request no specialist covers, which is otherwise APPENDED to a\nstring-form prompt. Positioned rather than appended for one reason: this preset's whole point is\nbrevity, and appended text would be the last thing the model reads. Putting the block above the\nbrevity rule leaves \"a single short sentence\" with the recency, so the two compose instead of\ncompeting. A prompt whose tone rules matter should do the same."
|
|
4865
|
-
}
|
|
4866
|
-
],
|
|
4867
|
-
"exports": [
|
|
4868
|
-
{
|
|
4869
|
-
"kind": "js",
|
|
4870
|
-
"name": "friendlyFallbackAgent",
|
|
4871
|
-
"declaration": {
|
|
4872
|
-
"name": "friendlyFallbackAgent",
|
|
4873
|
-
"module": "src/config/fallback-agents.ts"
|
|
4874
|
-
}
|
|
4875
|
-
},
|
|
4876
|
-
{
|
|
4877
|
-
"kind": "js",
|
|
4878
|
-
"name": "strictFallbackAgent",
|
|
4879
|
-
"declaration": {
|
|
4880
|
-
"name": "strictFallbackAgent",
|
|
4881
|
-
"module": "src/config/fallback-agents.ts"
|
|
4882
|
-
}
|
|
4881
|
+
"description": "Diameter of the circular window in px. Default: 56.",
|
|
4882
|
+
"resolveInitializer": {
|
|
4883
|
+
"module": "src/components/waves-indicator.ts"
|
|
4884
|
+
},
|
|
4885
|
+
"fieldName": "size"
|
|
4886
|
+
}
|
|
4887
|
+
],
|
|
4888
|
+
"superclass": {
|
|
4889
|
+
"name": "GenesisElement",
|
|
4890
|
+
"package": "@genesislcap/web-core"
|
|
4891
|
+
},
|
|
4892
|
+
"tagName": "ai-waves-indicator",
|
|
4893
|
+
"customElement": true
|
|
4883
4894
|
}
|
|
4884
|
-
]
|
|
4885
|
-
},
|
|
4886
|
-
{
|
|
4887
|
-
"kind": "javascript-module",
|
|
4888
|
-
"path": "src/config/index.ts",
|
|
4889
|
-
"declarations": [],
|
|
4895
|
+
],
|
|
4890
4896
|
"exports": [
|
|
4891
4897
|
{
|
|
4892
4898
|
"kind": "js",
|
|
4893
|
-
"name": "
|
|
4899
|
+
"name": "AiWavesIndicator",
|
|
4894
4900
|
"declaration": {
|
|
4895
|
-
"name": "
|
|
4896
|
-
"
|
|
4901
|
+
"name": "AiWavesIndicator",
|
|
4902
|
+
"module": "src/components/waves-indicator.ts"
|
|
4897
4903
|
}
|
|
4898
4904
|
},
|
|
4899
4905
|
{
|
|
4900
|
-
"kind": "
|
|
4901
|
-
"name": "
|
|
4906
|
+
"kind": "custom-element-definition",
|
|
4907
|
+
"name": "ai-waves-indicator",
|
|
4902
4908
|
"declaration": {
|
|
4903
|
-
"name": "
|
|
4904
|
-
"
|
|
4909
|
+
"name": "AiWavesIndicator",
|
|
4910
|
+
"module": "src/components/waves-indicator.ts"
|
|
4905
4911
|
}
|
|
4906
4912
|
}
|
|
4907
4913
|
]
|
|
4908
4914
|
},
|
|
4909
|
-
{
|
|
4910
|
-
"kind": "javascript-module",
|
|
4911
|
-
"path": "src/config/validate-providers.ts",
|
|
4912
|
-
"declarations": [],
|
|
4913
|
-
"exports": []
|
|
4914
|
-
},
|
|
4915
4915
|
{
|
|
4916
4916
|
"kind": "javascript-module",
|
|
4917
4917
|
"path": "src/genesis/calendar.ts",
|
|
@@ -6095,6 +6095,180 @@
|
|
|
6095
6095
|
"declarations": [],
|
|
6096
6096
|
"exports": []
|
|
6097
6097
|
},
|
|
6098
|
+
{
|
|
6099
|
+
"kind": "javascript-module",
|
|
6100
|
+
"path": "src/notifications/agent-notifications.ts",
|
|
6101
|
+
"declarations": [
|
|
6102
|
+
{
|
|
6103
|
+
"kind": "variable",
|
|
6104
|
+
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
6105
|
+
"type": {
|
|
6106
|
+
"text": "string"
|
|
6107
|
+
},
|
|
6108
|
+
"default": "'The assistant is ready for your next input'",
|
|
6109
|
+
"description": "The notification's text when neither the app nor the widget gives one."
|
|
6110
|
+
},
|
|
6111
|
+
{
|
|
6112
|
+
"kind": "function",
|
|
6113
|
+
"name": "agentNotificationPermission",
|
|
6114
|
+
"return": {
|
|
6115
|
+
"type": {
|
|
6116
|
+
"text": "AgentNotificationPermission"
|
|
6117
|
+
}
|
|
6118
|
+
},
|
|
6119
|
+
"description": "Whether this page may show notifications. Safe to call anywhere, including Node."
|
|
6120
|
+
},
|
|
6121
|
+
{
|
|
6122
|
+
"kind": "function",
|
|
6123
|
+
"name": "requestAgentNotificationPermission",
|
|
6124
|
+
"return": {
|
|
6125
|
+
"type": {
|
|
6126
|
+
"text": "Promise<AgentNotificationPermission>"
|
|
6127
|
+
}
|
|
6128
|
+
},
|
|
6129
|
+
"description": "Ask the person for permission to show notifications, and resolve to the result. Call it from a\nclick or key handler: browsers ignore or refuse a request that does not come from the person.\nResolves straight away when permission is already decided or unsupported, since a browser only\never asks once."
|
|
6130
|
+
}
|
|
6131
|
+
],
|
|
6132
|
+
"exports": [
|
|
6133
|
+
{
|
|
6134
|
+
"kind": "js",
|
|
6135
|
+
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
6136
|
+
"declaration": {
|
|
6137
|
+
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
6138
|
+
"module": "src/notifications/agent-notifications.ts"
|
|
6139
|
+
}
|
|
6140
|
+
},
|
|
6141
|
+
{
|
|
6142
|
+
"kind": "js",
|
|
6143
|
+
"name": "agentNotificationPermission",
|
|
6144
|
+
"declaration": {
|
|
6145
|
+
"name": "agentNotificationPermission",
|
|
6146
|
+
"module": "src/notifications/agent-notifications.ts"
|
|
6147
|
+
}
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
"kind": "js",
|
|
6151
|
+
"name": "requestAgentNotificationPermission",
|
|
6152
|
+
"declaration": {
|
|
6153
|
+
"name": "requestAgentNotificationPermission",
|
|
6154
|
+
"module": "src/notifications/agent-notifications.ts"
|
|
6155
|
+
}
|
|
6156
|
+
}
|
|
6157
|
+
]
|
|
6158
|
+
},
|
|
6159
|
+
{
|
|
6160
|
+
"kind": "javascript-module",
|
|
6161
|
+
"path": "src/notifications/agent-notifier.ts",
|
|
6162
|
+
"declarations": [],
|
|
6163
|
+
"exports": []
|
|
6164
|
+
},
|
|
6165
|
+
{
|
|
6166
|
+
"kind": "javascript-module",
|
|
6167
|
+
"path": "src/notifications/index.ts",
|
|
6168
|
+
"declarations": [],
|
|
6169
|
+
"exports": [
|
|
6170
|
+
{
|
|
6171
|
+
"kind": "js",
|
|
6172
|
+
"name": "agentNotificationPermission",
|
|
6173
|
+
"declaration": {
|
|
6174
|
+
"name": "agentNotificationPermission",
|
|
6175
|
+
"module": "./agent-notifications"
|
|
6176
|
+
}
|
|
6177
|
+
},
|
|
6178
|
+
{
|
|
6179
|
+
"kind": "js",
|
|
6180
|
+
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
6181
|
+
"declaration": {
|
|
6182
|
+
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
6183
|
+
"module": "./agent-notifications"
|
|
6184
|
+
}
|
|
6185
|
+
},
|
|
6186
|
+
{
|
|
6187
|
+
"kind": "js",
|
|
6188
|
+
"name": "requestAgentNotificationPermission",
|
|
6189
|
+
"declaration": {
|
|
6190
|
+
"name": "requestAgentNotificationPermission",
|
|
6191
|
+
"module": "./agent-notifications"
|
|
6192
|
+
}
|
|
6193
|
+
},
|
|
6194
|
+
{
|
|
6195
|
+
"kind": "js",
|
|
6196
|
+
"name": "type",
|
|
6197
|
+
"declaration": {
|
|
6198
|
+
"name": "type",
|
|
6199
|
+
"module": "./agent-notifications"
|
|
6200
|
+
}
|
|
6201
|
+
},
|
|
6202
|
+
{
|
|
6203
|
+
"kind": "js",
|
|
6204
|
+
"name": "AgentAttentionDetail",
|
|
6205
|
+
"declaration": {
|
|
6206
|
+
"name": "AgentAttentionDetail",
|
|
6207
|
+
"module": "./agent-notifications"
|
|
6208
|
+
}
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"kind": "js",
|
|
6212
|
+
"name": "type",
|
|
6213
|
+
"declaration": {
|
|
6214
|
+
"name": "type",
|
|
6215
|
+
"module": "./agent-notifications"
|
|
6216
|
+
}
|
|
6217
|
+
},
|
|
6218
|
+
{
|
|
6219
|
+
"kind": "js",
|
|
6220
|
+
"name": "AgentAttentionKind",
|
|
6221
|
+
"declaration": {
|
|
6222
|
+
"name": "AgentAttentionKind",
|
|
6223
|
+
"module": "./agent-notifications"
|
|
6224
|
+
}
|
|
6225
|
+
},
|
|
6226
|
+
{
|
|
6227
|
+
"kind": "js",
|
|
6228
|
+
"name": "type",
|
|
6229
|
+
"declaration": {
|
|
6230
|
+
"name": "type",
|
|
6231
|
+
"module": "./agent-notifications"
|
|
6232
|
+
}
|
|
6233
|
+
},
|
|
6234
|
+
{
|
|
6235
|
+
"kind": "js",
|
|
6236
|
+
"name": "AgentNotificationLevel",
|
|
6237
|
+
"declaration": {
|
|
6238
|
+
"name": "AgentNotificationLevel",
|
|
6239
|
+
"module": "./agent-notifications"
|
|
6240
|
+
}
|
|
6241
|
+
},
|
|
6242
|
+
{
|
|
6243
|
+
"kind": "js",
|
|
6244
|
+
"name": "type",
|
|
6245
|
+
"declaration": {
|
|
6246
|
+
"name": "type",
|
|
6247
|
+
"module": "./agent-notifications"
|
|
6248
|
+
}
|
|
6249
|
+
},
|
|
6250
|
+
{
|
|
6251
|
+
"kind": "js",
|
|
6252
|
+
"name": "AgentNotificationPermission",
|
|
6253
|
+
"declaration": {
|
|
6254
|
+
"name": "AgentNotificationPermission",
|
|
6255
|
+
"module": "./agent-notifications"
|
|
6256
|
+
}
|
|
6257
|
+
}
|
|
6258
|
+
]
|
|
6259
|
+
},
|
|
6260
|
+
{
|
|
6261
|
+
"kind": "javascript-module",
|
|
6262
|
+
"path": "src/notifications/notification-level-picker.template.ts",
|
|
6263
|
+
"declarations": [],
|
|
6264
|
+
"exports": []
|
|
6265
|
+
},
|
|
6266
|
+
{
|
|
6267
|
+
"kind": "javascript-module",
|
|
6268
|
+
"path": "src/notifications/notification-settings.ts",
|
|
6269
|
+
"declarations": [],
|
|
6270
|
+
"exports": []
|
|
6271
|
+
},
|
|
6098
6272
|
{
|
|
6099
6273
|
"kind": "javascript-module",
|
|
6100
6274
|
"path": "src/main/attachment-controller.ts",
|
|
@@ -9253,29 +9427,85 @@
|
|
|
9253
9427
|
},
|
|
9254
9428
|
{
|
|
9255
9429
|
"kind": "field",
|
|
9256
|
-
"name": "pinLocked",
|
|
9430
|
+
"name": "pinLocked",
|
|
9431
|
+
"type": {
|
|
9432
|
+
"text": "boolean"
|
|
9433
|
+
},
|
|
9434
|
+
"description": "The pin is locked when a stateful flow is mid-stream — i.e. some agent's\n`onActivate` has fired and it owns live state, and it hasn't yet called\n`releaseAgent`. Derives directly from `flowOwnerAgentName`, the\nsingle source of truth the orchestrator writes on activation and clears\non release. Until the user sends their first message, a freshly pinned\nstateful agent is not yet active and the picker should remain free; the\nuser might change their mind and unpin without anything to clean up.",
|
|
9435
|
+
"readonly": true
|
|
9436
|
+
},
|
|
9437
|
+
{
|
|
9438
|
+
"kind": "field",
|
|
9439
|
+
"name": "flowOwnerLabel",
|
|
9440
|
+
"type": {
|
|
9441
|
+
"text": "string | null"
|
|
9442
|
+
},
|
|
9443
|
+
"privacy": "private",
|
|
9444
|
+
"description": "The agent holding the flow lock, by its `displayName` when that is a plain string (the\nfunction form needs the agent's state, so it falls back to `name`, as the driver does).",
|
|
9445
|
+
"readonly": true
|
|
9446
|
+
},
|
|
9447
|
+
{
|
|
9448
|
+
"kind": "field",
|
|
9449
|
+
"name": "agentToggleTitle",
|
|
9450
|
+
"type": {
|
|
9451
|
+
"text": "string"
|
|
9452
|
+
},
|
|
9453
|
+
"description": "Tooltip shown on the picker toggle button.",
|
|
9454
|
+
"readonly": true
|
|
9455
|
+
},
|
|
9456
|
+
{
|
|
9457
|
+
"kind": "field",
|
|
9458
|
+
"name": "chipAgentName",
|
|
9459
|
+
"type": {
|
|
9460
|
+
"text": "string | null"
|
|
9461
|
+
},
|
|
9462
|
+
"privacy": "private",
|
|
9463
|
+
"description": "The agent the chip shows: the flow owner while it holds the picker, else the pin.",
|
|
9464
|
+
"readonly": true
|
|
9465
|
+
},
|
|
9466
|
+
{
|
|
9467
|
+
"kind": "field",
|
|
9468
|
+
"name": "pinnedAgentColour",
|
|
9469
|
+
"type": {
|
|
9470
|
+
"text": "string | undefined"
|
|
9471
|
+
},
|
|
9472
|
+
"description": "The pinned agent's colour. Picked from the brand palette by agent position\n(modulo the palette length), so each agent gets a consistent colour across\nrenders. `undefined` when nothing is pinned, the agent isn't in the current\narray, or the host has opted out via `chatConfig.picker.disablePinColours`.\nKept for hosts; the chip's glyph uses\nFoundationAiAssistant.agentButtonColour, which follows the flow\nowner while it holds the picker.",
|
|
9473
|
+
"readonly": true
|
|
9474
|
+
},
|
|
9475
|
+
{
|
|
9476
|
+
"kind": "field",
|
|
9477
|
+
"name": "agentButtonColour",
|
|
9257
9478
|
"type": {
|
|
9258
|
-
"text": "
|
|
9479
|
+
"text": "string | undefined"
|
|
9259
9480
|
},
|
|
9260
|
-
"description": "The
|
|
9481
|
+
"description": "The chip's glyph colour: the pin's tint, for the agent the chip shows.",
|
|
9261
9482
|
"readonly": true
|
|
9262
9483
|
},
|
|
9263
9484
|
{
|
|
9264
|
-
"kind": "
|
|
9265
|
-
"name": "
|
|
9266
|
-
"
|
|
9267
|
-
|
|
9485
|
+
"kind": "method",
|
|
9486
|
+
"name": "agentColour",
|
|
9487
|
+
"privacy": "private",
|
|
9488
|
+
"return": {
|
|
9489
|
+
"type": {
|
|
9490
|
+
"text": "string | undefined"
|
|
9491
|
+
}
|
|
9268
9492
|
},
|
|
9269
|
-
"
|
|
9270
|
-
|
|
9493
|
+
"parameters": [
|
|
9494
|
+
{
|
|
9495
|
+
"name": "name",
|
|
9496
|
+
"type": {
|
|
9497
|
+
"text": "string | null"
|
|
9498
|
+
}
|
|
9499
|
+
}
|
|
9500
|
+
]
|
|
9271
9501
|
},
|
|
9272
9502
|
{
|
|
9273
9503
|
"kind": "field",
|
|
9274
|
-
"name": "
|
|
9504
|
+
"name": "agentButtonGlyph",
|
|
9275
9505
|
"type": {
|
|
9276
|
-
"text": "
|
|
9506
|
+
"text": "'sitemap' | 'thumbtack'"
|
|
9277
9507
|
},
|
|
9278
|
-
"description": "
|
|
9508
|
+
"description": "The chip's icon: orchestration's, or the pin for one agent getting every message.",
|
|
9279
9509
|
"readonly": true
|
|
9280
9510
|
},
|
|
9281
9511
|
{
|
|
@@ -9284,7 +9514,7 @@
|
|
|
9284
9514
|
"type": {
|
|
9285
9515
|
"text": "string"
|
|
9286
9516
|
},
|
|
9287
|
-
"description": "Label beside the composer's agent glyph: the orchestration label (`Orchestration` unless the\nhost renames it) while the orchestrator is routing, otherwise the pinned agent's name. The name is NOT shortened here —\nthe button truncates with an ellipsis in CSS, so the full name stays\navailable to a screen reader and to the `title` tooltip.",
|
|
9517
|
+
"description": "Label beside the composer's agent glyph: the orchestration label (`Orchestration` unless the\nhost renames it) while the orchestrator is routing, otherwise the pinned agent's name. The name is NOT shortened here —\nthe button truncates with an ellipsis in CSS, so the full name stays\navailable to a screen reader and to the `title` tooltip.\n\nWhile a flow holds the picker, the flow owner is named instead: it gets every message.",
|
|
9288
9518
|
"readonly": true
|
|
9289
9519
|
},
|
|
9290
9520
|
{
|
|
@@ -9320,7 +9550,7 @@
|
|
|
9320
9550
|
"type": {
|
|
9321
9551
|
"text": "string"
|
|
9322
9552
|
},
|
|
9323
|
-
"description": "Placeholder shown in the chat input. Substitutes the pinned agent's name\nwhen one is selected so the user has a clearer signal of where their\nmessage will go; otherwise falls back to the host-provided placeholder.",
|
|
9553
|
+
"description": "Placeholder shown in the chat input. Substitutes the pinned agent's name\nwhen one is selected so the user has a clearer signal of where their\nmessage will go; otherwise falls back to the host-provided placeholder.\nWhile a flow holds the picker and the chip is shown, it names the flow\nowner, as the chip does.",
|
|
9324
9554
|
"readonly": true
|
|
9325
9555
|
},
|
|
9326
9556
|
{
|
|
@@ -10234,180 +10464,6 @@
|
|
|
10234
10464
|
"declarations": [],
|
|
10235
10465
|
"exports": []
|
|
10236
10466
|
},
|
|
10237
|
-
{
|
|
10238
|
-
"kind": "javascript-module",
|
|
10239
|
-
"path": "src/notifications/agent-notifications.ts",
|
|
10240
|
-
"declarations": [
|
|
10241
|
-
{
|
|
10242
|
-
"kind": "variable",
|
|
10243
|
-
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
10244
|
-
"type": {
|
|
10245
|
-
"text": "string"
|
|
10246
|
-
},
|
|
10247
|
-
"default": "'The assistant is ready for your next input'",
|
|
10248
|
-
"description": "The notification's text when neither the app nor the widget gives one."
|
|
10249
|
-
},
|
|
10250
|
-
{
|
|
10251
|
-
"kind": "function",
|
|
10252
|
-
"name": "agentNotificationPermission",
|
|
10253
|
-
"return": {
|
|
10254
|
-
"type": {
|
|
10255
|
-
"text": "AgentNotificationPermission"
|
|
10256
|
-
}
|
|
10257
|
-
},
|
|
10258
|
-
"description": "Whether this page may show notifications. Safe to call anywhere, including Node."
|
|
10259
|
-
},
|
|
10260
|
-
{
|
|
10261
|
-
"kind": "function",
|
|
10262
|
-
"name": "requestAgentNotificationPermission",
|
|
10263
|
-
"return": {
|
|
10264
|
-
"type": {
|
|
10265
|
-
"text": "Promise<AgentNotificationPermission>"
|
|
10266
|
-
}
|
|
10267
|
-
},
|
|
10268
|
-
"description": "Ask the person for permission to show notifications, and resolve to the result. Call it from a\nclick or key handler: browsers ignore or refuse a request that does not come from the person.\nResolves straight away when permission is already decided or unsupported, since a browser only\never asks once."
|
|
10269
|
-
}
|
|
10270
|
-
],
|
|
10271
|
-
"exports": [
|
|
10272
|
-
{
|
|
10273
|
-
"kind": "js",
|
|
10274
|
-
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
10275
|
-
"declaration": {
|
|
10276
|
-
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
10277
|
-
"module": "src/notifications/agent-notifications.ts"
|
|
10278
|
-
}
|
|
10279
|
-
},
|
|
10280
|
-
{
|
|
10281
|
-
"kind": "js",
|
|
10282
|
-
"name": "agentNotificationPermission",
|
|
10283
|
-
"declaration": {
|
|
10284
|
-
"name": "agentNotificationPermission",
|
|
10285
|
-
"module": "src/notifications/agent-notifications.ts"
|
|
10286
|
-
}
|
|
10287
|
-
},
|
|
10288
|
-
{
|
|
10289
|
-
"kind": "js",
|
|
10290
|
-
"name": "requestAgentNotificationPermission",
|
|
10291
|
-
"declaration": {
|
|
10292
|
-
"name": "requestAgentNotificationPermission",
|
|
10293
|
-
"module": "src/notifications/agent-notifications.ts"
|
|
10294
|
-
}
|
|
10295
|
-
}
|
|
10296
|
-
]
|
|
10297
|
-
},
|
|
10298
|
-
{
|
|
10299
|
-
"kind": "javascript-module",
|
|
10300
|
-
"path": "src/notifications/agent-notifier.ts",
|
|
10301
|
-
"declarations": [],
|
|
10302
|
-
"exports": []
|
|
10303
|
-
},
|
|
10304
|
-
{
|
|
10305
|
-
"kind": "javascript-module",
|
|
10306
|
-
"path": "src/notifications/index.ts",
|
|
10307
|
-
"declarations": [],
|
|
10308
|
-
"exports": [
|
|
10309
|
-
{
|
|
10310
|
-
"kind": "js",
|
|
10311
|
-
"name": "agentNotificationPermission",
|
|
10312
|
-
"declaration": {
|
|
10313
|
-
"name": "agentNotificationPermission",
|
|
10314
|
-
"module": "./agent-notifications"
|
|
10315
|
-
}
|
|
10316
|
-
},
|
|
10317
|
-
{
|
|
10318
|
-
"kind": "js",
|
|
10319
|
-
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
10320
|
-
"declaration": {
|
|
10321
|
-
"name": "DEFAULT_AGENT_NOTIFICATION_MESSAGE",
|
|
10322
|
-
"module": "./agent-notifications"
|
|
10323
|
-
}
|
|
10324
|
-
},
|
|
10325
|
-
{
|
|
10326
|
-
"kind": "js",
|
|
10327
|
-
"name": "requestAgentNotificationPermission",
|
|
10328
|
-
"declaration": {
|
|
10329
|
-
"name": "requestAgentNotificationPermission",
|
|
10330
|
-
"module": "./agent-notifications"
|
|
10331
|
-
}
|
|
10332
|
-
},
|
|
10333
|
-
{
|
|
10334
|
-
"kind": "js",
|
|
10335
|
-
"name": "type",
|
|
10336
|
-
"declaration": {
|
|
10337
|
-
"name": "type",
|
|
10338
|
-
"module": "./agent-notifications"
|
|
10339
|
-
}
|
|
10340
|
-
},
|
|
10341
|
-
{
|
|
10342
|
-
"kind": "js",
|
|
10343
|
-
"name": "AgentAttentionDetail",
|
|
10344
|
-
"declaration": {
|
|
10345
|
-
"name": "AgentAttentionDetail",
|
|
10346
|
-
"module": "./agent-notifications"
|
|
10347
|
-
}
|
|
10348
|
-
},
|
|
10349
|
-
{
|
|
10350
|
-
"kind": "js",
|
|
10351
|
-
"name": "type",
|
|
10352
|
-
"declaration": {
|
|
10353
|
-
"name": "type",
|
|
10354
|
-
"module": "./agent-notifications"
|
|
10355
|
-
}
|
|
10356
|
-
},
|
|
10357
|
-
{
|
|
10358
|
-
"kind": "js",
|
|
10359
|
-
"name": "AgentAttentionKind",
|
|
10360
|
-
"declaration": {
|
|
10361
|
-
"name": "AgentAttentionKind",
|
|
10362
|
-
"module": "./agent-notifications"
|
|
10363
|
-
}
|
|
10364
|
-
},
|
|
10365
|
-
{
|
|
10366
|
-
"kind": "js",
|
|
10367
|
-
"name": "type",
|
|
10368
|
-
"declaration": {
|
|
10369
|
-
"name": "type",
|
|
10370
|
-
"module": "./agent-notifications"
|
|
10371
|
-
}
|
|
10372
|
-
},
|
|
10373
|
-
{
|
|
10374
|
-
"kind": "js",
|
|
10375
|
-
"name": "AgentNotificationLevel",
|
|
10376
|
-
"declaration": {
|
|
10377
|
-
"name": "AgentNotificationLevel",
|
|
10378
|
-
"module": "./agent-notifications"
|
|
10379
|
-
}
|
|
10380
|
-
},
|
|
10381
|
-
{
|
|
10382
|
-
"kind": "js",
|
|
10383
|
-
"name": "type",
|
|
10384
|
-
"declaration": {
|
|
10385
|
-
"name": "type",
|
|
10386
|
-
"module": "./agent-notifications"
|
|
10387
|
-
}
|
|
10388
|
-
},
|
|
10389
|
-
{
|
|
10390
|
-
"kind": "js",
|
|
10391
|
-
"name": "AgentNotificationPermission",
|
|
10392
|
-
"declaration": {
|
|
10393
|
-
"name": "AgentNotificationPermission",
|
|
10394
|
-
"module": "./agent-notifications"
|
|
10395
|
-
}
|
|
10396
|
-
}
|
|
10397
|
-
]
|
|
10398
|
-
},
|
|
10399
|
-
{
|
|
10400
|
-
"kind": "javascript-module",
|
|
10401
|
-
"path": "src/notifications/notification-level-picker.template.ts",
|
|
10402
|
-
"declarations": [],
|
|
10403
|
-
"exports": []
|
|
10404
|
-
},
|
|
10405
|
-
{
|
|
10406
|
-
"kind": "javascript-module",
|
|
10407
|
-
"path": "src/notifications/notification-settings.ts",
|
|
10408
|
-
"declarations": [],
|
|
10409
|
-
"exports": []
|
|
10410
|
-
},
|
|
10411
10467
|
{
|
|
10412
10468
|
"kind": "javascript-module",
|
|
10413
10469
|
"path": "src/provider/ai-provider-switcher.ts",
|
|
@@ -11953,6 +12009,78 @@
|
|
|
11953
12009
|
"declarations": [],
|
|
11954
12010
|
"exports": []
|
|
11955
12011
|
},
|
|
12012
|
+
{
|
|
12013
|
+
"kind": "javascript-module",
|
|
12014
|
+
"path": "src/utils/attachment-note.ts",
|
|
12015
|
+
"declarations": [
|
|
12016
|
+
{
|
|
12017
|
+
"kind": "function",
|
|
12018
|
+
"name": "withAttachmentNote",
|
|
12019
|
+
"return": {
|
|
12020
|
+
"type": {
|
|
12021
|
+
"text": "string"
|
|
12022
|
+
}
|
|
12023
|
+
},
|
|
12024
|
+
"parameters": [
|
|
12025
|
+
{
|
|
12026
|
+
"name": "typed",
|
|
12027
|
+
"type": {
|
|
12028
|
+
"text": "string"
|
|
12029
|
+
}
|
|
12030
|
+
},
|
|
12031
|
+
{
|
|
12032
|
+
"name": "files",
|
|
12033
|
+
"type": {
|
|
12034
|
+
"text": "Files"
|
|
12035
|
+
}
|
|
12036
|
+
}
|
|
12037
|
+
],
|
|
12038
|
+
"description": "What a message sent with `files` is stored and shown as: the typed text, then the line."
|
|
12039
|
+
},
|
|
12040
|
+
{
|
|
12041
|
+
"kind": "function",
|
|
12042
|
+
"name": "withoutAttachmentNote",
|
|
12043
|
+
"return": {
|
|
12044
|
+
"type": {
|
|
12045
|
+
"text": "string"
|
|
12046
|
+
}
|
|
12047
|
+
},
|
|
12048
|
+
"parameters": [
|
|
12049
|
+
{
|
|
12050
|
+
"name": "text",
|
|
12051
|
+
"type": {
|
|
12052
|
+
"text": "string"
|
|
12053
|
+
}
|
|
12054
|
+
},
|
|
12055
|
+
{
|
|
12056
|
+
"name": "files",
|
|
12057
|
+
"type": {
|
|
12058
|
+
"text": "Files"
|
|
12059
|
+
}
|
|
12060
|
+
}
|
|
12061
|
+
],
|
|
12062
|
+
"description": "The typed text of a message stored with `files`. Takes off only the line those files add, so\nnothing the user typed is cut."
|
|
12063
|
+
}
|
|
12064
|
+
],
|
|
12065
|
+
"exports": [
|
|
12066
|
+
{
|
|
12067
|
+
"kind": "js",
|
|
12068
|
+
"name": "withAttachmentNote",
|
|
12069
|
+
"declaration": {
|
|
12070
|
+
"name": "withAttachmentNote",
|
|
12071
|
+
"module": "src/utils/attachment-note.ts"
|
|
12072
|
+
}
|
|
12073
|
+
},
|
|
12074
|
+
{
|
|
12075
|
+
"kind": "js",
|
|
12076
|
+
"name": "withoutAttachmentNote",
|
|
12077
|
+
"declaration": {
|
|
12078
|
+
"name": "withoutAttachmentNote",
|
|
12079
|
+
"module": "src/utils/attachment-note.ts"
|
|
12080
|
+
}
|
|
12081
|
+
}
|
|
12082
|
+
]
|
|
12083
|
+
},
|
|
11956
12084
|
{
|
|
11957
12085
|
"kind": "javascript-module",
|
|
11958
12086
|
"path": "src/utils/banked-usage-baselines.ts",
|