dsh-tender-workbench 0.2.2-beta.0 → 0.2.2-beta.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.
@@ -1,24 +1,17 @@
1
1
  import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
2
- import type { TenderTranslate } from './fields/field-props.ts';
3
- import { type WorkbenchPhase } from './workbench/navigation-controller.ts';
4
- export interface TenderDockEntryInjected {
5
- openWorkbench(phase: WorkbenchPhase): boolean;
6
- }
7
- export interface TenderDockEntryViewProps extends TenderDockEntryInjected {
8
- readonly projection: unknown;
9
- readonly t: TenderTranslate;
10
- }
11
- /** Four existing workbench phases presented as one compact launcher group. */
12
- export declare function TenderDockEntryView({ openWorkbench, projection, t }: TenderDockEntryViewProps): import("react").JSX.Element;
13
- export type TenderDockEntryProps = PropsRuntime<'conversation.input.dock'> & InjectFace<TenderDockEntryInjected> & PropsLocale<'tenderFilter'>;
14
- /** Session entry hosted after the composer so it remains visible in the hero phase. */
15
- export declare function TenderDockEntry({ openWorkbench, sessionId, t, useProjection }: TenderDockEntryProps): import("react").JSX.Element;
2
+ export type TenderHeroBrandMarkProps = PropsRuntime<'conversation.hero.brand.mark'>;
3
+ /** Preserve the native mark everywhere except Sessions created by the tender entry. */
4
+ export declare function TenderHeroBrandMark({ size, className, useSessions }: TenderHeroBrandMarkProps): import("react").JSX.Element;
5
+ export declare function rewriteTenderHeroHeadline(anchor: HTMLElement, enabled: boolean, replacement: string): () => void;
6
+ export type TenderHeroTitleBridgeProps = PropsRuntime<'conversation.input.dock'> & PropsLocale<'tenderFilter'>;
7
+ /** Narrow, reversible bridge for the headline that DSH does not expose as a Slot. */
8
+ export declare function TenderHeroTitleBridge({ sessionId, t, useSession }: TenderHeroTitleBridgeProps): import("react").JSX.Element;
16
9
  export interface TenderSidebarEntryInjected {
17
- openCurrentWorkbench(): boolean;
10
+ startTenderSession(): Promise<void>;
18
11
  }
19
12
  export type TenderSidebarEntryProps = PropsRuntime<'sidebar.footer.action'> & InjectFace<TenderSidebarEntryInjected> & PropsLocale<'tenderFilter'>;
20
- /** Global launcher portalled between the Data Cleaning entry and workspace browser. */
21
- export declare function TenderSidebarEntry({ wide, openCurrentWorkbench, t }: TenderSidebarEntryProps): import("react").ReactPortal | null;
13
+ /** Global launcher portalled at the start of the sidebar's primary action region. */
14
+ export declare function TenderSidebarEntry({ wide, startTenderSession, t }: TenderSidebarEntryProps): import("react").ReactPortal | null;
22
15
  export interface TenderHeaderEntryInjected {
23
16
  openWorkbench(): boolean;
24
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TenderEntry.d.ts","sourceRoot":"","sources":["../../../src/client/TenderEntry.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAE7F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAE9D,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,sCAAsC,CAAA;AAQ7C,MAAM,WAAW,uBAAuB;IACtC,aAAa,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAA;CAC9C;AAED,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;IACvE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,CAAC,EAAE,eAAe,CAAA;CAC5B;AASD,8EAA8E;AAC9E,wBAAgB,mBAAmB,CAAC,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,wBAAwB,+BAqC7F;AAED,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,yBAAyB,CAAC,GACtE,UAAU,CAAC,uBAAuB,CAAC,GACnC,WAAW,CAAC,cAAc,CAAC,CAAA;AAE/B,uFAAuF;AACvF,wBAAgB,eAAe,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC,EAAE,aAAa,EAAE,EAAE,o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AE,UAAU,EAAE,EAAE,0BAA0B,+BAgB7F;AAED,MAAM,WAAW,0BAA0B;IACzC,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACpC;AAED,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,uBAAuB,CAAC,GACvE,UAAU,CAAC,0BAA0B,CAAC,GACtC,WAAW,CAAC,cAAc,CAAC,CAAA;AAiB/B,qFAAqF;AACrF,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,EAAE,EAAE,uBAAuB,sCAoE1F;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,IAAI,OAAO,CAAA;CACzB;AAED,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,qCAAqC,CAAC,GACpF,UAAU,CAAC,yBAAyB,CAAC,GACrC,WAAW,CAAC,cAAc,CAAC,CAAA;AAE/B,wBAAgB,wBAAwB,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,aAAa,EAAE,EAAE,sBAAsB,+BAanG"}
@@ -24,7 +24,7 @@ export declare function useTenderWorkbenchReveal(controller: TenderWorkbenchReve
24
24
  /** Fail loudly only when the mandatory provider lacks an exercised capability. */
25
25
  export declare function assertBetterSidebarContract(service: BetterSidebarService): void;
26
26
  /** Register the single Session-scoped workbench tab through Better Sidebar's public service. */
27
- export declare function registerTenderWorkbenchTab(service: BetterSidebarService, component: (props: TabComponentProps) => ReactNode, title?: string | (() => string)): () => void;
27
+ export declare function registerTenderWorkbenchTab(service: BetterSidebarService, component: (props: TabComponentProps) => ReactNode, title?: string | (() => string), icon?: ReactNode | ((size: number) => ReactNode)): () => void;
28
28
  /**
29
29
  * Create or focus the workbench Tab in the explicitly supplied Session. A
30
30
  * reveal request is emitted only when that Session is currently on screen;
@@ -1 +1 @@
1
- {"version":3,"file":"better-sidebar-adapter.d.ts","sourceRoot":"","sources":["../../../src/client/better-sidebar-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK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AE,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,CAAC,GAC/C,MAAM,IAAI,CAUZ;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,oBAAoB,EAC7B,KAAK,EAAE,YAAY,EACnB,MAAM,EAAE,+BAA+B,GACtC,OAAO,CAMT"}
@@ -8,6 +8,6 @@ declare module '@deepseek-ai/dsh-client-ui-slots' {
8
8
  }
9
9
  /** Required public Client services; Better Sidebar is deliberately mandatory. */
10
10
  export declare const inject: string[];
11
- /** Register the workbench Tab, two placement bridges, and the Header recovery action. */
11
+ /** Register the dedicated Session entry, workbench Tab, Hero brand, and Header recovery action. */
12
12
  export declare function apply(ctx: TenderClientContext): void;
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAgB9D,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAYrD,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,kEAAkE;QAClE,YAAY,EAAE,SAAS,CAAA;KACxB;CACF;AAID,iFAAiF;AACjF,eAAO,MAAM,MAAM,UAElB,CAAA;AAmCD,yFAAyF;AACzF,wBAAgB,KAAK,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI,CA8EpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAgB9D,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAgBrD,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,kEAAkE;QAClE,YAAY,EAAE,SAAS,CAAA;KACxB;CACF;AAID,iFAAiF;AACjF,eAAO,MAAM,MAAM,UAElB,CAAA;AAmCD,mGAAmG;AACnG,wBAAgB,KAAK,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI,CA8FpD"}
@@ -2,7 +2,10 @@ export declare const zh: {
2
2
  readonly 'trigger.label': "搜索招投标";
3
3
  readonly 'trigger.aria': "打开招投标工作台";
4
4
  readonly 'sidebar.label': "招投标";
5
- readonly 'sidebar.aria': "打开招投标工作台";
5
+ readonly 'sidebar.aria': "新建招投标会话";
6
+ readonly 'sidebar.createFailed': "未能新建招投标会话,请重试。";
7
+ readonly 'sidebar.createUnavailable': "当前 DSH 不支持新建招投标专属会话。";
8
+ readonly 'sidebar.workspaceRequired': "请先选择或创建一个工作区。";
6
9
  readonly 'header.reopen': "招投标工作台";
7
10
  readonly 'workbench.title': "招投标工作台";
8
11
  readonly 'workbench.subtitle': "与当前 Session 联动 · 所有结论可追溯";
@@ -1063,6 +1066,9 @@ export declare const en: {
1063
1066
  'trigger.aria': string;
1064
1067
  'sidebar.label': string;
1065
1068
  'sidebar.aria': string;
1069
+ 'sidebar.createFailed': string;
1070
+ 'sidebar.createUnavailable': string;
1071
+ 'sidebar.workspaceRequired': string;
1066
1072
  'header.reopen': string;
1067
1073
  'workbench.title': string;
1068
1074
  'workbench.subtitle': string;
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../../../src/client/locales.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqiCsB,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { ISessions, IWorkspaces, SessionId, WorkspaceId } from '@deepseek-ai/dsh-client-runtime/client';
2
+ export declare const TENDER_ENTRY_SESSION_ID_PREFIX = "session-dsh-tender-workbench-";
3
+ export type TenderSessionEntryErrorCode = 'create-unavailable' | 'invalid-session-id' | 'workspace-unavailable';
4
+ export declare class TenderSessionEntryError extends Error {
5
+ readonly code: TenderSessionEntryErrorCode;
6
+ constructor(code: TenderSessionEntryErrorCode);
7
+ }
8
+ export declare function isTenderEntrySessionId(sessionId: string | undefined): boolean;
9
+ export declare function createTenderEntrySessionId(uuid: string): SessionId;
10
+ export declare function resolveTenderEntryWorkspace(sessions: Pick<ISessions, 'list'>, workspaces: Pick<IWorkspaces, 'list'>): WorkspaceId | undefined;
11
+ /** Create a distinct native Session without falling back to blank-Session reuse. */
12
+ export declare function createTenderEntrySession(sessions: ISessions, workspaces: IWorkspaces, uuid?: () => string): Promise<SessionId>;
13
+ //# sourceMappingURL=tender-session-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tender-session-entry.d.ts","sourceRoot":"","sources":["../../../src/client/tender-session-entry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,WAAW,EACX,SAAS,EACT,WAAW,EACZ,MAAM,wCAAwC,CAAA;AAE/C,eAAO,MAAM,8BAA8B,kCAAkC,CAAA;AAE7E,MAAM,MAAM,2BAA2B,GACnC,oBAAoB,GACpB,oBAAoB,GACpB,uBAAuB,CAAA;AAE3B,qBAAa,uBAAwB,SAAQ,KAAK;IACpC,QAAQ,CAAC,IAAI,EAAE,2BAA2B;gBAAjC,IAAI,EAAE,2BAA2B;CAIvD;AAeD,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAG7E;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAGlE;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,EACjC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,GACpC,WAAW,GAAG,SAAS,CASzB;AAED,oFAAoF;AACpF,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,SAAS,EACnB,UAAU,EAAE,WAAW,EACvB,IAAI,GAAE,MAAM,MAAoB,GAC/B,OAAO,CAAC,SAAS,CAAC,CAapB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-tender-workbench",
3
- "version": "0.2.2-beta.0",
3
+ "version": "0.2.2-beta.1",
4
4
  "description": "Open-source DeepSeek Harness tender Agent workbench with a Session-scoped end-to-end workflow",
5
5
  "keywords": [
6
6
  "deepseek-harness",