@agimon-ai/po-core 0.0.0-alpha.147 → 0.0.0-alpha.148
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/src/constants/template.cjs +2 -2
- package/dist/src/constants/template.cjs.map +1 -1
- package/dist/src/constants/template.d.mts +2 -2
- package/dist/src/constants/template.mjs +2 -2
- package/dist/src/constants/template.mjs.map +1 -1
- package/dist/src/web/hostSlots.cjs +1 -1
- package/dist/src/web/hostSlots.cjs.map +1 -1
- package/dist/src/web/hostSlots.d.mts +1 -1
- package/dist/src/web/hostSlots.mjs +1 -1
- package/dist/src/web/hostSlots.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
//#region src/constants/template.ts
|
|
2
2
|
/** The template the cockpit and the phone draw when none is configured; both ship it bundled. */
|
|
3
3
|
const DEFAULT_TEMPLATE_ID = "po-template-elegant";
|
|
4
|
-
/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's
|
|
5
|
-
const DEFAULT_BACKDROP_ID = "backdrop-
|
|
4
|
+
/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's bamboo. */
|
|
5
|
+
const DEFAULT_BACKDROP_ID = "backdrop-bamboo/bamboo";
|
|
6
6
|
/** The `web.backdrop` value that shows no background at all. */
|
|
7
7
|
const NO_BACKDROP = "none";
|
|
8
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.cjs","names":[],"sources":["../../../src/constants/template.ts"],"sourcesContent":["/** The template the cockpit and the phone draw when none is configured; both ship it bundled. */\nexport const DEFAULT_TEMPLATE_ID = 'po-template-elegant';\n\n/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's
|
|
1
|
+
{"version":3,"file":"template.cjs","names":[],"sources":["../../../src/constants/template.ts"],"sourcesContent":["/** The template the cockpit and the phone draw when none is configured; both ship it bundled. */\nexport const DEFAULT_TEMPLATE_ID = 'po-template-elegant';\n\n/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's bamboo. */\nexport const DEFAULT_BACKDROP_ID = 'backdrop-bamboo/bamboo';\n/** The `web.backdrop` value that shows no background at all. */\nexport const NO_BACKDROP = 'none';\n"],"mappings":";;AACA,MAAa,sBAAsB;;AAGnC,MAAa,sBAAsB;;AAEnC,MAAa,cAAc"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
//#region src/constants/template.d.ts
|
|
2
2
|
/** The template the cockpit and the phone draw when none is configured; both ship it bundled. */
|
|
3
3
|
export declare const DEFAULT_TEMPLATE_ID = "po-template-elegant";
|
|
4
|
-
/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's
|
|
5
|
-
export declare const DEFAULT_BACKDROP_ID = "backdrop-
|
|
4
|
+
/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's bamboo. */
|
|
5
|
+
export declare const DEFAULT_BACKDROP_ID = "backdrop-bamboo/bamboo";
|
|
6
6
|
/** The `web.backdrop` value that shows no background at all. */
|
|
7
7
|
export declare const NO_BACKDROP = "none";
|
|
8
8
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
//#region src/constants/template.ts
|
|
2
2
|
/** The template the cockpit and the phone draw when none is configured; both ship it bundled. */
|
|
3
3
|
const DEFAULT_TEMPLATE_ID = "po-template-elegant";
|
|
4
|
-
/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's
|
|
5
|
-
const DEFAULT_BACKDROP_ID = "backdrop-
|
|
4
|
+
/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's bamboo. */
|
|
5
|
+
const DEFAULT_BACKDROP_ID = "backdrop-bamboo/bamboo";
|
|
6
6
|
/** The `web.backdrop` value that shows no background at all. */
|
|
7
7
|
const NO_BACKDROP = "none";
|
|
8
8
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.mjs","names":[],"sources":["../../../src/constants/template.ts"],"sourcesContent":["/** The template the cockpit and the phone draw when none is configured; both ship it bundled. */\nexport const DEFAULT_TEMPLATE_ID = 'po-template-elegant';\n\n/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's
|
|
1
|
+
{"version":3,"file":"template.mjs","names":[],"sources":["../../../src/constants/template.ts"],"sourcesContent":["/** The template the cockpit and the phone draw when none is configured; both ship it bundled. */\nexport const DEFAULT_TEMPLATE_ID = 'po-template-elegant';\n\n/** The background the cockpit shows when `web.backdrop` is unset: `<pluginId>/<fillId>` of Po's bamboo. */\nexport const DEFAULT_BACKDROP_ID = 'backdrop-bamboo/bamboo';\n/** The `web.backdrop` value that shows no background at all. */\nexport const NO_BACKDROP = 'none';\n"],"mappings":";;AACA,MAAa,sBAAsB;;AAGnC,MAAa,sBAAsB;;AAEnC,MAAa,cAAc"}
|
|
@@ -103,7 +103,7 @@ const HOST_SLOT_METADATA = {
|
|
|
103
103
|
backdrop: {
|
|
104
104
|
slot: "backdrop",
|
|
105
105
|
scope: "host",
|
|
106
|
-
description: "A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po
|
|
106
|
+
description: "A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po bamboo by default); data { label, description } names it in Settings.",
|
|
107
107
|
kind: "component"
|
|
108
108
|
},
|
|
109
109
|
ambient: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hostSlots.cjs","names":[],"sources":["../../../src/web/hostSlots.ts"],"sourcesContent":["import type { PoApiScope } from '../schemas/packageApi';\n\n/** Host-owned declarations are visible throughout the client scope tree. */\nexport const HOST_SLOT_METADATA = {\n home: { slot: 'home', scope: 'host', description: 'Typed Home content and launch contributions.', kind: 'data' },\n homeApps: {\n slot: 'home-apps',\n scope: 'host',\n description: 'Plugin cards on Home. Set data.column to side for the narrow column.',\n parent: 'home',\n kind: 'component',\n },\n dashboardTiles: {\n slot: 'dashboard-tiles',\n scope: 'host',\n description: 'Host-framed body-only tiles on Home and workspace dashboards.',\n kind: 'component',\n },\n homeAttention: {\n slot: 'home-attention',\n scope: 'host',\n description: 'Plugin-framed Home cards for things waiting on the person.',\n parent: 'home',\n kind: 'component',\n },\n overlay: {\n slot: 'overlay',\n scope: 'host',\n description: 'Overlays above the cockpit, such as a microphone dialog.',\n kind: 'component',\n },\n rail: { slot: 'rail', scope: 'host', description: 'Navigation items in the cockpit rail.', kind: 'component' },\n context: {\n slot: 'context',\n scope: 'host',\n description: 'Context panels beside the session conversation.',\n kind: 'component',\n },\n selectionBar: {\n slot: 'selection-bar',\n scope: 'host',\n description: 'Actions for the current text selection.',\n kind: 'component',\n },\n activity: {\n slot: 'activity',\n scope: 'host',\n description: 'Session activity panels, with explicit child slots for activity groups.',\n kind: 'component',\n },\n activityPromo: {\n slot: 'activity-promo',\n scope: 'host',\n description: 'Compact actions inside the activity promo card, such as Explore.',\n parent: 'activity',\n kind: 'component',\n },\n composerActions: {\n slot: 'composer-actions',\n scope: 'host',\n description: 'Action controls beside the session composer.',\n kind: 'component',\n },\n composerMenu: {\n slot: 'composer-menu',\n scope: 'host',\n description: 'Items in the session composer menu.',\n kind: 'component',\n },\n dialogPrompt: {\n slot: 'dialog-prompt',\n scope: 'host',\n description: 'Typed data fills that claim a dialog independently of a tool card.',\n kind: 'data',\n },\n sessionMenu: { slot: 'session-menu', scope: 'host', description: 'Items in the session menu.', kind: 'component' },\n newSession: {\n slot: 'new-session',\n scope: 'host',\n description: 'A workspace fill replacing the host new-session dialog.',\n kind: 'component',\n },\n page: {\n slot: 'page',\n scope: 'host',\n description: 'A full page at /page/<fill id> in the main area beside the sidebar.',\n kind: 'component',\n },\n // Customisation slots every template gets: the host renders them, so a person's own package\n // changes whichever template is selected without forking it.\n backdrop: {\n slot: 'backdrop',\n scope: 'host',\n description:\n 'A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po
|
|
1
|
+
{"version":3,"file":"hostSlots.cjs","names":[],"sources":["../../../src/web/hostSlots.ts"],"sourcesContent":["import type { PoApiScope } from '../schemas/packageApi';\n\n/** Host-owned declarations are visible throughout the client scope tree. */\nexport const HOST_SLOT_METADATA = {\n home: { slot: 'home', scope: 'host', description: 'Typed Home content and launch contributions.', kind: 'data' },\n homeApps: {\n slot: 'home-apps',\n scope: 'host',\n description: 'Plugin cards on Home. Set data.column to side for the narrow column.',\n parent: 'home',\n kind: 'component',\n },\n dashboardTiles: {\n slot: 'dashboard-tiles',\n scope: 'host',\n description: 'Host-framed body-only tiles on Home and workspace dashboards.',\n kind: 'component',\n },\n homeAttention: {\n slot: 'home-attention',\n scope: 'host',\n description: 'Plugin-framed Home cards for things waiting on the person.',\n parent: 'home',\n kind: 'component',\n },\n overlay: {\n slot: 'overlay',\n scope: 'host',\n description: 'Overlays above the cockpit, such as a microphone dialog.',\n kind: 'component',\n },\n rail: { slot: 'rail', scope: 'host', description: 'Navigation items in the cockpit rail.', kind: 'component' },\n context: {\n slot: 'context',\n scope: 'host',\n description: 'Context panels beside the session conversation.',\n kind: 'component',\n },\n selectionBar: {\n slot: 'selection-bar',\n scope: 'host',\n description: 'Actions for the current text selection.',\n kind: 'component',\n },\n activity: {\n slot: 'activity',\n scope: 'host',\n description: 'Session activity panels, with explicit child slots for activity groups.',\n kind: 'component',\n },\n activityPromo: {\n slot: 'activity-promo',\n scope: 'host',\n description: 'Compact actions inside the activity promo card, such as Explore.',\n parent: 'activity',\n kind: 'component',\n },\n composerActions: {\n slot: 'composer-actions',\n scope: 'host',\n description: 'Action controls beside the session composer.',\n kind: 'component',\n },\n composerMenu: {\n slot: 'composer-menu',\n scope: 'host',\n description: 'Items in the session composer menu.',\n kind: 'component',\n },\n dialogPrompt: {\n slot: 'dialog-prompt',\n scope: 'host',\n description: 'Typed data fills that claim a dialog independently of a tool card.',\n kind: 'data',\n },\n sessionMenu: { slot: 'session-menu', scope: 'host', description: 'Items in the session menu.', kind: 'component' },\n newSession: {\n slot: 'new-session',\n scope: 'host',\n description: 'A workspace fill replacing the host new-session dialog.',\n kind: 'component',\n },\n page: {\n slot: 'page',\n scope: 'host',\n description: 'A full page at /page/<fill id> in the main area beside the sidebar.',\n kind: 'component',\n },\n // Customisation slots every template gets: the host renders them, so a person's own package\n // changes whichever template is selected without forking it.\n backdrop: {\n slot: 'backdrop',\n scope: 'host',\n description:\n 'A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po bamboo by default); data { label, description } names it in Settings.',\n kind: 'component',\n },\n ambient: {\n slot: 'ambient',\n scope: 'host',\n description: 'Invisible, always-mounted fills for app-wide extras such as music. Web only.',\n kind: 'component',\n },\n composerRegion: {\n slot: 'composer-region',\n scope: 'host',\n description:\n 'Wraps the session composer. Each fill receives the region as children and may decorate or replace it.',\n kind: 'component',\n },\n emptyStateRegion: {\n slot: 'empty-state-region',\n scope: 'host',\n description:\n 'Wraps the empty conversation. Each fill receives the region as children and may decorate or replace it.',\n kind: 'component',\n },\n} as const;\n\nexport const HOST_SLOTS = Object.fromEntries(\n Object.entries(HOST_SLOT_METADATA).map(([key, declaration]) => [key, declaration.slot]),\n) as { readonly [K in keyof typeof HOST_SLOT_METADATA]: (typeof HOST_SLOT_METADATA)[K]['slot'] };\n\n/**\n * The `data-po-region` names templates put on their layout roots: the documented hooks a\n * person's own CSS targets. Test ids are not a contract; these are.\n */\nexport const PO_REGIONS = ['rail', 'header', 'content', 'composer', 'controls', 'activity', 'settings'] as const;\n\nexport type PoRegion = (typeof PO_REGIONS)[number];\n\n/** The keyed slot an activity group explicitly declares, not a dotted-name hierarchy inference. */\nexport function activityGroupSlot(name: string): string {\n return `${HOST_SLOTS.activity}.${name}`;\n}\n\nexport function activityGroupSlotMetadata(name: string, scope: PoApiScope) {\n return {\n slot: activityGroupSlot(name),\n description: `Activity sections in the ${name} group.`,\n parent: HOST_SLOTS.activity,\n kind: 'component' as const,\n scope,\n };\n}\n"],"mappings":";;AAGA,MAAa,qBAAqB;CAChC,MAAM;EAAE,MAAM;EAAQ,OAAO;EAAQ,aAAa;EAAgD,MAAM;CAAO;CAC/G,UAAU;EACR,MAAM;EACN,OAAO;EACP,aAAa;EACb,QAAQ;EACR,MAAM;CACR;CACA,gBAAgB;EACd,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,eAAe;EACb,MAAM;EACN,OAAO;EACP,aAAa;EACb,QAAQ;EACR,MAAM;CACR;CACA,SAAS;EACP,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,MAAM;EAAE,MAAM;EAAQ,OAAO;EAAQ,aAAa;EAAyC,MAAM;CAAY;CAC7G,SAAS;EACP,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,cAAc;EACZ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,UAAU;EACR,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,eAAe;EACb,MAAM;EACN,OAAO;EACP,aAAa;EACb,QAAQ;EACR,MAAM;CACR;CACA,iBAAiB;EACf,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,cAAc;EACZ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,cAAc;EACZ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,aAAa;EAAE,MAAM;EAAgB,OAAO;EAAQ,aAAa;EAA8B,MAAM;CAAY;CACjH,YAAY;EACV,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,MAAM;EACJ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CAGA,UAAU;EACR,MAAM;EACN,OAAO;EACP,aACE;EACF,MAAM;CACR;CACA,SAAS;EACP,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,gBAAgB;EACd,MAAM;EACN,OAAO;EACP,aACE;EACF,MAAM;CACR;CACA,kBAAkB;EAChB,MAAM;EACN,OAAO;EACP,aACE;EACF,MAAM;CACR;AACF;AAEA,MAAa,aAAa,OAAO,YAC/B,OAAO,QAAQ,kBAAkB,CAAC,CAAC,KAAK,CAAC,KAAK,iBAAiB,CAAC,KAAK,YAAY,IAAI,CAAC,CACxF;;;;;AAMA,MAAa,aAAa;CAAC;CAAQ;CAAU;CAAW;CAAY;CAAY;CAAY;AAAU;;AAKtG,SAAgB,kBAAkB,MAAsB;CACtD,OAAO,GAAG,WAAW,SAAS,GAAG;AACnC;AAEA,SAAgB,0BAA0B,MAAc,OAAmB;CACzE,OAAO;EACL,MAAM,kBAAkB,IAAI;EAC5B,aAAa,4BAA4B,KAAK;EAC9C,QAAQ,WAAW;EACnB,MAAM;EACN;CACF;AACF"}
|
|
@@ -104,7 +104,7 @@ export declare const HOST_SLOT_METADATA: {
|
|
|
104
104
|
readonly backdrop: {
|
|
105
105
|
readonly slot: 'backdrop';
|
|
106
106
|
readonly scope: 'host';
|
|
107
|
-
readonly description: 'A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po
|
|
107
|
+
readonly description: 'A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po bamboo by default); data { label, description } names it in Settings.';
|
|
108
108
|
readonly kind: 'component';
|
|
109
109
|
};
|
|
110
110
|
readonly ambient: {
|
|
@@ -103,7 +103,7 @@ const HOST_SLOT_METADATA = {
|
|
|
103
103
|
backdrop: {
|
|
104
104
|
slot: "backdrop",
|
|
105
105
|
scope: "host",
|
|
106
|
-
description: "A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po
|
|
106
|
+
description: "A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po bamboo by default); data { label, description } names it in Settings.",
|
|
107
107
|
kind: "component"
|
|
108
108
|
},
|
|
109
109
|
ambient: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hostSlots.mjs","names":[],"sources":["../../../src/web/hostSlots.ts"],"sourcesContent":["import type { PoApiScope } from '../schemas/packageApi';\n\n/** Host-owned declarations are visible throughout the client scope tree. */\nexport const HOST_SLOT_METADATA = {\n home: { slot: 'home', scope: 'host', description: 'Typed Home content and launch contributions.', kind: 'data' },\n homeApps: {\n slot: 'home-apps',\n scope: 'host',\n description: 'Plugin cards on Home. Set data.column to side for the narrow column.',\n parent: 'home',\n kind: 'component',\n },\n dashboardTiles: {\n slot: 'dashboard-tiles',\n scope: 'host',\n description: 'Host-framed body-only tiles on Home and workspace dashboards.',\n kind: 'component',\n },\n homeAttention: {\n slot: 'home-attention',\n scope: 'host',\n description: 'Plugin-framed Home cards for things waiting on the person.',\n parent: 'home',\n kind: 'component',\n },\n overlay: {\n slot: 'overlay',\n scope: 'host',\n description: 'Overlays above the cockpit, such as a microphone dialog.',\n kind: 'component',\n },\n rail: { slot: 'rail', scope: 'host', description: 'Navigation items in the cockpit rail.', kind: 'component' },\n context: {\n slot: 'context',\n scope: 'host',\n description: 'Context panels beside the session conversation.',\n kind: 'component',\n },\n selectionBar: {\n slot: 'selection-bar',\n scope: 'host',\n description: 'Actions for the current text selection.',\n kind: 'component',\n },\n activity: {\n slot: 'activity',\n scope: 'host',\n description: 'Session activity panels, with explicit child slots for activity groups.',\n kind: 'component',\n },\n activityPromo: {\n slot: 'activity-promo',\n scope: 'host',\n description: 'Compact actions inside the activity promo card, such as Explore.',\n parent: 'activity',\n kind: 'component',\n },\n composerActions: {\n slot: 'composer-actions',\n scope: 'host',\n description: 'Action controls beside the session composer.',\n kind: 'component',\n },\n composerMenu: {\n slot: 'composer-menu',\n scope: 'host',\n description: 'Items in the session composer menu.',\n kind: 'component',\n },\n dialogPrompt: {\n slot: 'dialog-prompt',\n scope: 'host',\n description: 'Typed data fills that claim a dialog independently of a tool card.',\n kind: 'data',\n },\n sessionMenu: { slot: 'session-menu', scope: 'host', description: 'Items in the session menu.', kind: 'component' },\n newSession: {\n slot: 'new-session',\n scope: 'host',\n description: 'A workspace fill replacing the host new-session dialog.',\n kind: 'component',\n },\n page: {\n slot: 'page',\n scope: 'host',\n description: 'A full page at /page/<fill id> in the main area beside the sidebar.',\n kind: 'component',\n },\n // Customisation slots every template gets: the host renders them, so a person's own package\n // changes whichever template is selected without forking it.\n backdrop: {\n slot: 'backdrop',\n scope: 'host',\n description:\n 'A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po
|
|
1
|
+
{"version":3,"file":"hostSlots.mjs","names":[],"sources":["../../../src/web/hostSlots.ts"],"sourcesContent":["import type { PoApiScope } from '../schemas/packageApi';\n\n/** Host-owned declarations are visible throughout the client scope tree. */\nexport const HOST_SLOT_METADATA = {\n home: { slot: 'home', scope: 'host', description: 'Typed Home content and launch contributions.', kind: 'data' },\n homeApps: {\n slot: 'home-apps',\n scope: 'host',\n description: 'Plugin cards on Home. Set data.column to side for the narrow column.',\n parent: 'home',\n kind: 'component',\n },\n dashboardTiles: {\n slot: 'dashboard-tiles',\n scope: 'host',\n description: 'Host-framed body-only tiles on Home and workspace dashboards.',\n kind: 'component',\n },\n homeAttention: {\n slot: 'home-attention',\n scope: 'host',\n description: 'Plugin-framed Home cards for things waiting on the person.',\n parent: 'home',\n kind: 'component',\n },\n overlay: {\n slot: 'overlay',\n scope: 'host',\n description: 'Overlays above the cockpit, such as a microphone dialog.',\n kind: 'component',\n },\n rail: { slot: 'rail', scope: 'host', description: 'Navigation items in the cockpit rail.', kind: 'component' },\n context: {\n slot: 'context',\n scope: 'host',\n description: 'Context panels beside the session conversation.',\n kind: 'component',\n },\n selectionBar: {\n slot: 'selection-bar',\n scope: 'host',\n description: 'Actions for the current text selection.',\n kind: 'component',\n },\n activity: {\n slot: 'activity',\n scope: 'host',\n description: 'Session activity panels, with explicit child slots for activity groups.',\n kind: 'component',\n },\n activityPromo: {\n slot: 'activity-promo',\n scope: 'host',\n description: 'Compact actions inside the activity promo card, such as Explore.',\n parent: 'activity',\n kind: 'component',\n },\n composerActions: {\n slot: 'composer-actions',\n scope: 'host',\n description: 'Action controls beside the session composer.',\n kind: 'component',\n },\n composerMenu: {\n slot: 'composer-menu',\n scope: 'host',\n description: 'Items in the session composer menu.',\n kind: 'component',\n },\n dialogPrompt: {\n slot: 'dialog-prompt',\n scope: 'host',\n description: 'Typed data fills that claim a dialog independently of a tool card.',\n kind: 'data',\n },\n sessionMenu: { slot: 'session-menu', scope: 'host', description: 'Items in the session menu.', kind: 'component' },\n newSession: {\n slot: 'new-session',\n scope: 'host',\n description: 'A workspace fill replacing the host new-session dialog.',\n kind: 'component',\n },\n page: {\n slot: 'page',\n scope: 'host',\n description: 'A full page at /page/<fill id> in the main area beside the sidebar.',\n kind: 'component',\n },\n // Customisation slots every template gets: the host renders them, so a person's own package\n // changes whichever template is selected without forking it.\n backdrop: {\n slot: 'backdrop',\n scope: 'host',\n description:\n 'A background behind the whole cockpit. Only the one chosen in web.backdrop shows (Po bamboo by default); data { label, description } names it in Settings.',\n kind: 'component',\n },\n ambient: {\n slot: 'ambient',\n scope: 'host',\n description: 'Invisible, always-mounted fills for app-wide extras such as music. Web only.',\n kind: 'component',\n },\n composerRegion: {\n slot: 'composer-region',\n scope: 'host',\n description:\n 'Wraps the session composer. Each fill receives the region as children and may decorate or replace it.',\n kind: 'component',\n },\n emptyStateRegion: {\n slot: 'empty-state-region',\n scope: 'host',\n description:\n 'Wraps the empty conversation. Each fill receives the region as children and may decorate or replace it.',\n kind: 'component',\n },\n} as const;\n\nexport const HOST_SLOTS = Object.fromEntries(\n Object.entries(HOST_SLOT_METADATA).map(([key, declaration]) => [key, declaration.slot]),\n) as { readonly [K in keyof typeof HOST_SLOT_METADATA]: (typeof HOST_SLOT_METADATA)[K]['slot'] };\n\n/**\n * The `data-po-region` names templates put on their layout roots: the documented hooks a\n * person's own CSS targets. Test ids are not a contract; these are.\n */\nexport const PO_REGIONS = ['rail', 'header', 'content', 'composer', 'controls', 'activity', 'settings'] as const;\n\nexport type PoRegion = (typeof PO_REGIONS)[number];\n\n/** The keyed slot an activity group explicitly declares, not a dotted-name hierarchy inference. */\nexport function activityGroupSlot(name: string): string {\n return `${HOST_SLOTS.activity}.${name}`;\n}\n\nexport function activityGroupSlotMetadata(name: string, scope: PoApiScope) {\n return {\n slot: activityGroupSlot(name),\n description: `Activity sections in the ${name} group.`,\n parent: HOST_SLOTS.activity,\n kind: 'component' as const,\n scope,\n };\n}\n"],"mappings":";;AAGA,MAAa,qBAAqB;CAChC,MAAM;EAAE,MAAM;EAAQ,OAAO;EAAQ,aAAa;EAAgD,MAAM;CAAO;CAC/G,UAAU;EACR,MAAM;EACN,OAAO;EACP,aAAa;EACb,QAAQ;EACR,MAAM;CACR;CACA,gBAAgB;EACd,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,eAAe;EACb,MAAM;EACN,OAAO;EACP,aAAa;EACb,QAAQ;EACR,MAAM;CACR;CACA,SAAS;EACP,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,MAAM;EAAE,MAAM;EAAQ,OAAO;EAAQ,aAAa;EAAyC,MAAM;CAAY;CAC7G,SAAS;EACP,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,cAAc;EACZ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,UAAU;EACR,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,eAAe;EACb,MAAM;EACN,OAAO;EACP,aAAa;EACb,QAAQ;EACR,MAAM;CACR;CACA,iBAAiB;EACf,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,cAAc;EACZ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,cAAc;EACZ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,aAAa;EAAE,MAAM;EAAgB,OAAO;EAAQ,aAAa;EAA8B,MAAM;CAAY;CACjH,YAAY;EACV,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,MAAM;EACJ,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CAGA,UAAU;EACR,MAAM;EACN,OAAO;EACP,aACE;EACF,MAAM;CACR;CACA,SAAS;EACP,MAAM;EACN,OAAO;EACP,aAAa;EACb,MAAM;CACR;CACA,gBAAgB;EACd,MAAM;EACN,OAAO;EACP,aACE;EACF,MAAM;CACR;CACA,kBAAkB;EAChB,MAAM;EACN,OAAO;EACP,aACE;EACF,MAAM;CACR;AACF;AAEA,MAAa,aAAa,OAAO,YAC/B,OAAO,QAAQ,kBAAkB,CAAC,CAAC,KAAK,CAAC,KAAK,iBAAiB,CAAC,KAAK,YAAY,IAAI,CAAC,CACxF;;;;;AAMA,MAAa,aAAa;CAAC;CAAQ;CAAU;CAAW;CAAY;CAAY;CAAY;AAAU;;AAKtG,SAAgB,kBAAkB,MAAsB;CACtD,OAAO,GAAG,WAAW,SAAS,GAAG;AACnC;AAEA,SAAgB,0BAA0B,MAAc,OAAmB;CACzE,OAAO;EACL,MAAM,kBAAkB,IAAI;EAC5B,aAAa,4BAA4B,KAAK;EAC9C,QAAQ,WAAW;EACnB,MAAM;EACN;CACF;AACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-core",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.148",
|
|
4
4
|
"description": "Po runtime systems and reusable core services.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -614,8 +614,8 @@
|
|
|
614
614
|
"registry": "https://registry.npmjs.org/"
|
|
615
615
|
},
|
|
616
616
|
"dependencies": {
|
|
617
|
-
"@agimon-ai/po-logsink": "0.0.1-alpha.
|
|
618
|
-
"@agimon-ai/po-web-security": "0.0.0-alpha.
|
|
617
|
+
"@agimon-ai/po-logsink": "0.0.1-alpha.130",
|
|
618
|
+
"@agimon-ai/po-web-security": "0.0.0-alpha.148",
|
|
619
619
|
"@deepseek-ai/cordis": "4.0.5",
|
|
620
620
|
"@earendil-works/chord": "1.5.1",
|
|
621
621
|
"@earendil-works/pi-agent-core": "1.5.1",
|
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
"yaml": "2.9.1"
|
|
642
642
|
},
|
|
643
643
|
"devDependencies": {
|
|
644
|
-
"@agimon-ai/vibe-lint-plugin-po-core": "0.0.0-alpha.
|
|
644
|
+
"@agimon-ai/vibe-lint-plugin-po-core": "0.0.0-alpha.148",
|
|
645
645
|
"@apidevtools/swagger-parser": "^13.1.0",
|
|
646
646
|
"@asyncapi/parser": "^3.6.4",
|
|
647
647
|
"@earendil-works/pi-ai": "1.5.1",
|