@case-framework/survey-assistant 0.4.0 → 0.5.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/README.md +8 -0
- package/dist/capabilities-default.d.mts +1 -1
- package/dist/{constants-k1b_evIb.d.mts → constants-DbrJxxOh.d.mts} +2 -2
- package/dist/{constants-k1b_evIb.d.mts.map → constants-DbrJxxOh.d.mts.map} +1 -1
- package/dist/{controller-proxy-quQjtA7j.d.mts → controller-proxy-BdKF2yrq.d.mts} +2 -2
- package/dist/{controller-proxy-quQjtA7j.d.mts.map → controller-proxy-BdKF2yrq.d.mts.map} +1 -1
- package/dist/{engine-BvfUx_Jx.mjs → engine-DcSdLRle.mjs} +88 -1
- package/dist/{engine-BvfUx_Jx.mjs.map → engine-DcSdLRle.mjs.map} +1 -1
- package/dist/engine.d.mts +2 -2
- package/dist/engine.mjs +1 -1
- package/dist/{index-8x1Eqlnz.d.mts → index-BApnIiCI.d.mts} +4 -4
- package/dist/{index-8x1Eqlnz.d.mts.map → index-BApnIiCI.d.mts.map} +1 -1
- package/dist/{index-r8HVcn5b.d.mts → index-Da_Hb9-1.d.mts} +23 -3
- package/dist/{index-r8HVcn5b.d.mts.map → index-Da_Hb9-1.d.mts.map} +1 -1
- package/dist/{index-biZnRl-h.d.mts → index-DhNQKOwr.d.mts} +9 -5
- package/dist/index-DhNQKOwr.d.mts.map +1 -0
- package/dist/{index-BDp6S7r9.d.mts → index-dV6df0W3.d.mts} +3 -3
- package/dist/{index-BDp6S7r9.d.mts.map → index-dV6df0W3.d.mts.map} +1 -1
- package/dist/{memory-thread-repository-xBZOog_q.mjs → memory-thread-repository-CvYZwni6.mjs} +41 -10
- package/dist/{memory-thread-repository-xBZOog_q.mjs.map → memory-thread-repository-CvYZwni6.mjs.map} +1 -1
- package/dist/protocol.d.mts +1 -1
- package/dist/react-integration.d.mts +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/{request-context-DixY5DYu.mjs → request-context-D1sC54ZA.mjs} +2 -2
- package/dist/{request-context-DixY5DYu.mjs.map → request-context-D1sC54ZA.mjs.map} +1 -1
- package/dist/server-agent.d.mts +8 -6
- package/dist/server-agent.mjs +2 -2
- package/dist/server-agent.mjs.map +1 -1
- package/dist/server-runtime.d.mts +19 -5
- package/dist/server-runtime.d.mts.map +1 -1
- package/dist/server-runtime.mjs +45 -6
- package/dist/server-runtime.mjs.map +1 -1
- package/dist/server-tasks.d.mts +1 -1
- package/dist/server-tools.d.mts +1 -1
- package/dist/server-tools.mjs +1 -1
- package/dist/server.d.mts +5 -5
- package/dist/server.mjs +2 -2
- package/dist/storage-postgres.mjs +3 -0
- package/dist/storage-postgres.mjs.map +1 -1
- package/dist/{tasks-BWmTMXoK.d.mts → tasks-CCtxjhwh.d.mts} +3 -3
- package/dist/{tasks-BWmTMXoK.d.mts.map → tasks-CCtxjhwh.d.mts.map} +1 -1
- package/dist/{thread-handlers-D8gkLfU6.d.mts → thread-handlers-Bt9cDo-F.d.mts} +11 -4
- package/dist/{thread-handlers-D8gkLfU6.d.mts.map → thread-handlers-Bt9cDo-F.d.mts.map} +1 -1
- package/dist/{tools-TXI8bfzZ.mjs → tools-3tq-XqI0.mjs} +10 -4
- package/dist/{tools-TXI8bfzZ.mjs.map → tools-3tq-XqI0.mjs.map} +1 -1
- package/dist/ui.css +1 -1
- package/dist/ui.d.mts +3 -3
- package/dist/ui.d.mts.map +1 -1
- package/dist/ui.mjs +70 -15
- package/dist/ui.mjs.map +1 -1
- package/docs/integration.md +34 -0
- package/package.json +1 -1
- package/dist/index-biZnRl-h.d.mts.map +0 -1
package/docs/integration.md
CHANGED
|
@@ -122,6 +122,40 @@ Only the active provider's secret is required. `SURVEY_ASSISTANT_ENABLED` is an
|
|
|
122
122
|
optional operational override; provider, model, role, memory, request-limit, and
|
|
123
123
|
execution policy remains document-owned.
|
|
124
124
|
|
|
125
|
+
#### Optional experimental-identity rollout gate
|
|
126
|
+
|
|
127
|
+
Importing hosts can pass `requireExperimentalIdentityOptIn: true` as a third
|
|
128
|
+
argument to either configuration parser:
|
|
129
|
+
|
|
130
|
+
```ts
|
|
131
|
+
const config = parseSurveyAssistantConfigurationDocument(document, process.env, {
|
|
132
|
+
requireExperimentalIdentityOptIn: true,
|
|
133
|
+
});
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
This adds a second, explicit production rollout gate. Outside development, an
|
|
137
|
+
otherwise enabled assistant then remains disabled until the deployment also
|
|
138
|
+
sets:
|
|
139
|
+
|
|
140
|
+
```dotenv
|
|
141
|
+
SURVEY_ASSISTANT_ALLOW_EXPERIMENTAL_IDENTITY=true
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
The environment variable alone does not enable the assistant. Enablement must
|
|
145
|
+
still be requested by `enabled: true` in the configuration document or by
|
|
146
|
+
`SURVEY_ASSISTANT_ENABLED=true`; an explicit
|
|
147
|
+
`SURVEY_ASSISTANT_ENABLED=false` still disables it. In development, the extra
|
|
148
|
+
opt-in is not required.
|
|
149
|
+
|
|
150
|
+
Despite its historical name, this option does not select, create, or authorize
|
|
151
|
+
an identity. Request identity and access remain controlled by the host's
|
|
152
|
+
authorization callbacks. A production host with a complete authenticated-host
|
|
153
|
+
integration should normally omit the parser option, unless it deliberately
|
|
154
|
+
wants this additional deployment switch. Use it when a host still exposes an
|
|
155
|
+
experimental client-request identity path, or when that extra production
|
|
156
|
+
rollout gate is desired. If the parser option is omitted (the default),
|
|
157
|
+
`SURVEY_ASSISTANT_ALLOW_EXPERIMENTAL_IDENTITY` has no effect.
|
|
158
|
+
|
|
125
159
|
The shared option keys are `parallelToolCalls`, `reasoningEffort`,
|
|
126
160
|
`reasoningSummary`, `promptCacheKey`, `promptCacheRetention`, `serviceTier`, and
|
|
127
161
|
`textVerbosity`. Provider validation rejects known-incompatible combinations;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-biZnRl-h.d.mts","names":[],"sources":["../src/server/tools/survey-audit-tool.ts","../src/server/tools/survey-asset-tool.ts","../src/server/tools/index.ts"],"mappings":";;;;cA4Ga,eAAA,EAwBX,qBAAA,CAxB0B,IAAA;;;;;;;;;qBAwB1B,qBAAA,CAAA,oBAAA;;;cCiCW,eAAA,wBAAe,IAAA;;;;;;;;GA6H1B,oBAAA;;;cCvRW,yBAAA;AAAA,cAUA,oBAAA,EAAoB,QAAA;;;;;;;;;;;;;;;;;;;;;;uBAQ/B,qBAAA,CAAA,oBAAA"}
|