@agimon-ai/po-web-components 0.0.0-alpha.119 → 0.0.0-alpha.120
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.
|
@@ -27,6 +27,8 @@ export interface PoWorkflowLaunchOverrides {
|
|
|
27
27
|
readonly env?: Readonly<Record<string, string>>;
|
|
28
28
|
readonly prompt?: string;
|
|
29
29
|
readonly name?: string;
|
|
30
|
+
/** Team whose members role-bound jobs resolve to, instead of the workflow's default team. */
|
|
31
|
+
readonly team?: string;
|
|
30
32
|
}
|
|
31
33
|
/** Session-owned. Rejection means no observable registration was accepted. */
|
|
32
34
|
export interface PoWorkflowLaunchService {
|
|
@@ -286,6 +288,33 @@ export interface PoWorkflowContextService {
|
|
|
286
288
|
readonly state: PoWorkflowRunsService;
|
|
287
289
|
readonly children?: PoWorkflowChildrenSession;
|
|
288
290
|
}
|
|
291
|
+
export interface PoWorkflowIdentityRequest {
|
|
292
|
+
readonly team: string;
|
|
293
|
+
/** Every role the job declares; all of them must belong to one member. */
|
|
294
|
+
readonly roles: readonly string[];
|
|
295
|
+
}
|
|
296
|
+
/** One member a job was admitted as. Kept in run state, so it carries names and digests, never secrets. */
|
|
297
|
+
export interface PoWorkflowIdentityBinding {
|
|
298
|
+
readonly team: string;
|
|
299
|
+
readonly teamRevision: string;
|
|
300
|
+
readonly product?: string;
|
|
301
|
+
readonly roles: readonly string[];
|
|
302
|
+
/** Stable across machines; the local profile name may differ between them. */
|
|
303
|
+
readonly ref: string;
|
|
304
|
+
readonly profile: string;
|
|
305
|
+
readonly contentDigest: string;
|
|
306
|
+
readonly policyDigest: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Resolves role-bound workflow jobs to team members. Bound per workspace by the package that owns
|
|
310
|
+
* profiles and teams; the workspace comes from that scope, never from workflow input. Both calls
|
|
311
|
+
* throw, without naming secrets, when no single authorized member qualifies.
|
|
312
|
+
*/
|
|
313
|
+
export interface PoWorkflowIdentityService {
|
|
314
|
+
resolve(request: PoWorkflowIdentityRequest): Promise<PoWorkflowIdentityBinding>;
|
|
315
|
+
/** Rechecks a saved binding against the current team and authorization, returning it as it stands now. */
|
|
316
|
+
revalidate(binding: PoWorkflowIdentityBinding): Promise<PoWorkflowIdentityBinding>;
|
|
317
|
+
}
|
|
289
318
|
declare module '@deepseek-ai/cordis' {
|
|
290
319
|
interface Context {
|
|
291
320
|
'po/workflow-launch': PoWorkflowLaunchService;
|
|
@@ -293,6 +322,7 @@ declare module '@deepseek-ai/cordis' {
|
|
|
293
322
|
'po/workflow-runs': PoWorkflowRunsService;
|
|
294
323
|
'po/workflow-context': PoWorkflowContextService;
|
|
295
324
|
'po/workflow-admissions': PoWorkflowAdmissionsService;
|
|
325
|
+
'po/workflow-identity': PoWorkflowIdentityService;
|
|
296
326
|
}
|
|
297
327
|
}
|
|
298
328
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.mts","names":["Type.TString","Type.TObject"],"sources":["../../../../../../../../po-core/dist/src/schemas/workflow.d.mts"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"workflow.d.mts","names":["Type.TString","Type.TObject"],"sources":["../../../../../../../../po-core/dist/src/schemas/workflow.d.mts"],"mappings":";;;;;;;qBAWqB,+BAA+BC;EAClD,QAAQD;EACR,KAAKA;;YAEK,0BAA0B,cAAc;;qBAE/B,wBAAwBC;EAC3C,OAAOD;EACP,gBAAgBA;EAChB,QAAQA;EACR,mBAAmBA;;YAET,mBAAmB,cAAc;iBAC5B;WACN;WACA;WACA;WACA;WACA,SAAS,SAAS;WAClB,MAAM,SAAS;WACf;WACA;;WAEA;;;iBAGM;EACf,OAAO,YAAY,yBAAyB,YAAY,4BAA4B,QAAQ;;;iBAG7E;WACN;WACA;;;iBAGM;WACN;WACA;;iBAEM;WACN,aAAa;WACb,OAAO;;iBAED;WACN,SAAS;WACT;WACA;WACA;;WAEA,MAAM;WACN,cAAc;;WAE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AAQ;;iBAEF;WACN;WACA;WACA;WACA;WACA;WACA;;iBAEM;WACN;WACA;WACA;WACA,mBAAmB;WACnB,sBAAsB;;;iBAGhB;WACN;EACT,YAAY;IACV;IACA;IACA,SAAS;MACP,QAAQ;EACZ,aAAa;IACX;MACE,QAAQ;EACZ,aAAa,QAAQ;EACrB,gBAAgB;IACd,SAAS;MACP;MACA;;MAEA;;EAEJ,oBAAoB;IAClB;IACA,WAAW,SAAS;;;EAGtB,mBAAmB;IACjB;MACE;IACF;IACA,WAAW,SAAS;;;;iBAIP;WACN,KAAK;WACL;WACA;WACA;WACA,QAAQ;WACR,gBAAgB,SAAS;WACzB,iBAAiB,SAAS;WAC1B;;WAEA;WACA,OAAO;WACP,WAAW;;iBAEL;WACN;;WAEA;;;iBAGM;WACN;WACA;WACA;WACA;;WAEA;WACA;WACA;WACA;;;;;;;iBAOM;EACf,QAAQ,SAAS,4BAA4B,QAAQ;;EAErD,WAAW,SAAS,4BAA4B,QAAQ;;;YAG9C;IACR,sBAAsB;IACtB,kCAAkC;IAClC,oBAAoB;IACpB,uBAAuB;IACvB,0BAA0B;IAC1B,wBAAwB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-web-components",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.120",
|
|
4
4
|
"description": "Shared web components and theme tokens for the Po cockpit and its web plugins: shadcn-style primitives on Radix, tuned to the Po palette, with runtime theme configs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"tailwind-merge": "3.7.0"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
116
|
-
"@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.
|
|
115
|
+
"@agimon-ai/po-core": "0.0.0-alpha.120",
|
|
116
|
+
"@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.120",
|
|
117
117
|
"@types/node": "26.6.5",
|
|
118
118
|
"@types/react": "19.3.0",
|
|
119
119
|
"@types/react-dom": "19.3.0",
|