@inkeep/open-knowledge 0.50.0-beta.10 → 0.50.0-beta.11

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.
Files changed (107) hide show
  1. package/dist/{acp-harness-probe-Dh-8gi6i.mjs → acp-harness-probe-DRAaVrjf.mjs} +2 -2
  2. package/dist/cli.mjs +35 -35
  3. package/dist/constants-DLJSo46_.mjs +2 -0
  4. package/dist/fs-traced-DJHV_QPy.mjs +12 -0
  5. package/dist/fs-traced-GKhfy5ua.mjs +1 -0
  6. package/dist/git-handle-BHbVb-kE.mjs +1 -0
  7. package/dist/{git-handle--bprv4nF.mjs → git-handle-BWXziar2.mjs} +2 -2
  8. package/dist/index.d.mts +62 -1
  9. package/dist/index.mjs +202 -202
  10. package/dist/init-Bi1d2uLD.mjs +638 -0
  11. package/dist/init-CqUUUDta.mjs +1 -0
  12. package/dist/{launch-json-removal-eLYyewrt.mjs → launch-json-removal-BUYuUwT_.mjs} +2 -2
  13. package/dist/loader-DAMg0xnL.mjs +1 -0
  14. package/dist/{loader-DDTT9ymf.mjs → loader-DXsqPNjF.mjs} +2 -2
  15. package/dist/md-manager-BP88oH5c.mjs +2 -0
  16. package/dist/{open-browser-BbGNdC1A.mjs → open-browser-CHq05YCN.mjs} +2 -2
  17. package/dist/parse-worker.mjs +1 -1
  18. package/dist/{preview-BNxwgzXc.mjs → preview-BENkmrSy.mjs} +2 -2
  19. package/dist/preview-aNluJ6KN.mjs +1 -0
  20. package/dist/public/assets/ActivityModeContent-C3XczVNM.js +1 -0
  21. package/dist/public/assets/AgentDiffPane-CCvn5wQ3.js +2 -0
  22. package/dist/public/assets/BugReportHistory-mvsL4k28.js +1 -0
  23. package/dist/public/assets/{BugReportHistoryDialog-y4fa4pzg.js → BugReportHistoryDialog-DpBx3OAi.js} +1 -1
  24. package/dist/public/assets/ChangedOutsideBadge-BTzPOikC.js +1 -0
  25. package/dist/public/assets/DocumentContext-q72mQT_t.js +38 -0
  26. package/dist/public/assets/FeedbackForm-CPJzntj4.js +1 -0
  27. package/dist/public/assets/ImportSkillDialog-CXQr-FGP.js +1 -0
  28. package/dist/public/assets/{ManagedArtifactProperties-BZlQIOzZ.js → ManagedArtifactProperties-B4gUE4uy.js} +1 -1
  29. package/dist/public/assets/ManagedArtifactProperties-ga621KKB.js +1 -0
  30. package/dist/public/assets/{ReportBugDialogBody-DsvmR3w_.js → ReportBugDialogBody-C3RLSmI4.js} +2 -2
  31. package/dist/public/assets/SessionsHost-gsjDemop.js +2 -0
  32. package/dist/public/assets/{SettingsDialogBody-DuHzBEeR.js → SettingsDialogBody-B0aiIMgi.js} +5 -5
  33. package/dist/public/assets/ShareBranchSwitchDialog-BvB0M0F8.js +1 -0
  34. package/dist/public/assets/ShareReceiveDialog-DdTZvKPD.js +1 -0
  35. package/dist/public/assets/{ShareReceiveMissDialog-zdkgREgY.js → ShareReceiveMissDialog-5admpSFE.js} +1 -1
  36. package/dist/public/assets/SkillOriginInline-1lmATcpN.js +1 -0
  37. package/dist/public/assets/{SkillToolbarControls-B7Ve-jjf.js → SkillToolbarControls-26O0onQs.js} +1 -1
  38. package/dist/public/assets/{SourceEditor-Blu9Cl14.js → SourceEditor-DCC6j8cH.js} +1 -1
  39. package/dist/public/assets/{TerminalWindowApp-BWys4w_o.js → TerminalWindowApp-CFcodtB9.js} +1 -1
  40. package/dist/public/assets/ThreadView-Bxz-QRgZ.js +10 -0
  41. package/dist/public/assets/TimelineDiffPane-FY54Yfye.js +2 -0
  42. package/dist/public/assets/{agent-diff-store-Cx2PGHl5.js → agent-diff-store-DTrbnQbK.js} +1 -1
  43. package/dist/public/assets/{auth-state-cache-DjQVisgv.js → auth-state-cache-CAQ4A-He.js} +2 -2
  44. package/dist/public/assets/{comment-chips-I49OBnea.js → comment-chips-El0Mtul3.js} +1 -1
  45. package/dist/public/assets/{follow-file-Tx7LDdLa.js → follow-file-D8sBwhbX.js} +1 -1
  46. package/dist/public/assets/{index-DcwTlNGF.js → index-DYmWXWr6.js} +10 -10
  47. package/dist/public/assets/pending-receive-nav-store-CitdQa34.js +1 -0
  48. package/dist/public/assets/{selection-context-Cfgj9Pjc.js → selection-context-tW7mNL04.js} +1 -1
  49. package/dist/public/assets/{skill-actions-DGkz7STV.js → skill-actions-B-rAAmok.js} +1 -1
  50. package/dist/public/assets/spinner-D7fgqgRw.js +1 -0
  51. package/dist/public/assets/{typing-burst-detector-CqkL50_0.js → typing-burst-detector-i5YC5a51.js} +1 -1
  52. package/dist/public/assets/uninstall-DTD665q0.js +1 -0
  53. package/dist/public/assets/{use-activity-panel-BCKs4_nX.js → use-activity-panel-B_OxshWx.js} +1 -1
  54. package/dist/public/assets/{use-open-skill-BoahMT9b.js → use-open-skill-BZcJfbB3.js} +1 -1
  55. package/dist/public/assets/{use-popular-skills-CgQb0blg.js → use-popular-skills-BI639F_L.js} +1 -1
  56. package/dist/public/assets/{use-timeline-entry-diff-Cl5YPf6d.js → use-timeline-entry-diff-C5UrKke2.js} +1 -1
  57. package/dist/public/index.html +15 -15
  58. package/dist/public/uninstall.html +2 -2
  59. package/dist/{repair-launch-json-BsmsKGY2.mjs → repair-launch-json-D_fCoitG.mjs} +2 -2
  60. package/dist/{repair-mcp-configs-BNDNoA8y.mjs → repair-mcp-configs-C3cLZGEE.mjs} +2 -2
  61. package/dist/{repair-skills-B1uZm0d9.mjs → repair-skills-BKjhKhUN.mjs} +2 -2
  62. package/dist/repair-skills-DN4OicpR.mjs +1 -0
  63. package/dist/{server-lock-DVFwF_v1.mjs → server-lock-qqJQphTS.mjs} +2 -2
  64. package/dist/server-lock-rwNc7NVh.mjs +1 -0
  65. package/dist/{skill-teardown-CVbARLy9.mjs → skill-teardown-B4kT3Fxa.mjs} +2 -2
  66. package/dist/{sleep-DHt6ey5x.mjs → sleep-DdJljU3h.mjs} +6 -6
  67. package/dist/{src-BeiWvt1B.mjs → src-BB2_Ksle.mjs} +149 -149
  68. package/dist/src-DyAkipH8.mjs +1 -0
  69. package/dist/src-Joe5Ft2d.mjs +20 -0
  70. package/dist/{src-D22LsTtj.mjs → src-c73kUNxd.mjs} +126 -126
  71. package/dist/src-n7camJHB.mjs +1 -0
  72. package/dist/start-BUeLlQd8.mjs +1 -0
  73. package/dist/{start-DMahCVHT.mjs → start-CYM9hyHf.mjs} +3 -3
  74. package/dist/{write-project-skill-CKprIY6s.mjs → write-project-skill-BD0rO6kN.mjs} +3 -3
  75. package/package.json +4 -4
  76. package/dist/constants-BNvS8oI2.mjs +0 -2
  77. package/dist/fs-traced-D54pxq9W.mjs +0 -1
  78. package/dist/fs-traced-yBvwYUvC.mjs +0 -12
  79. package/dist/git-handle-D2iDoQll.mjs +0 -1
  80. package/dist/init-CoaEpXuj.mjs +0 -1
  81. package/dist/init-CusaJPSD.mjs +0 -638
  82. package/dist/loader-CjyL5Zwo.mjs +0 -1
  83. package/dist/md-manager-Ds9PF-af.mjs +0 -2
  84. package/dist/preview-B8rlTtD1.mjs +0 -1
  85. package/dist/public/assets/ActivityModeContent-B5gvfBKN.js +0 -1
  86. package/dist/public/assets/AgentDiffPane-DR7C4GvH.js +0 -2
  87. package/dist/public/assets/BugReportHistory-BJFLBqUw.js +0 -1
  88. package/dist/public/assets/ChangedOutsideBadge-BHGDiDXV.js +0 -1
  89. package/dist/public/assets/DocumentContext-D5IPRkJO.js +0 -38
  90. package/dist/public/assets/FeedbackForm-FHEM65O2.js +0 -1
  91. package/dist/public/assets/ImportSkillDialog-CfLam_3S.js +0 -1
  92. package/dist/public/assets/ManagedArtifactProperties-D6kkCydK.js +0 -1
  93. package/dist/public/assets/SessionsHost-DQDxT6oc.js +0 -2
  94. package/dist/public/assets/ShareBranchSwitchDialog-BRD2GRvj.js +0 -1
  95. package/dist/public/assets/ShareReceiveDialog-CZwTjqpd.js +0 -1
  96. package/dist/public/assets/SkillOriginInline-B--SEM3Z.js +0 -1
  97. package/dist/public/assets/ThreadView-C850kWDt.js +0 -10
  98. package/dist/public/assets/TimelineDiffPane-C9edQI2h.js +0 -2
  99. package/dist/public/assets/loader-circle-BJLNGSB4.js +0 -1
  100. package/dist/public/assets/pending-receive-nav-store-7KhrTNW4.js +0 -1
  101. package/dist/public/assets/uninstall-CR9VTOyJ.js +0 -1
  102. package/dist/repair-skills-DX-0mGWs.mjs +0 -1
  103. package/dist/server-lock-ZP-uSNgR.mjs +0 -1
  104. package/dist/src-BTyafOnQ.mjs +0 -20
  105. package/dist/src-DE8N1-zo.mjs +0 -1
  106. package/dist/src-GZmSfM0Q.mjs +0 -1
  107. package/dist/start---d1EopM.mjs +0 -1
package/dist/index.d.mts CHANGED
@@ -9907,6 +9907,47 @@ declare module '@tiptap/core' {
9907
9907
  }
9908
9908
  }
9909
9909
  //#endregion
9910
+ //#region ../core/src/i18n/locales.d.ts
9911
+ /**
9912
+ * The interface locales OpenKnowledge enumerates, ordered by total speakers.
9913
+ *
9914
+ * Single source of truth. The config enum, the Lingui catalog list in
9915
+ * `packages/app/lingui.config.ts`, and the locale matcher all derive from this
9916
+ * tuple; a config value with no catalog behind it is a user choosing a language
9917
+ * and getting English, so the two lists are pinned equal by a test rather than
9918
+ * kept in sync by hand.
9919
+ *
9920
+ * Chinese is tagged by script, not by region. Region tags strand Simplified
9921
+ * readers in Singapore and Malaysia and Traditional readers in Hong Kong and
9922
+ * Macau; `zh-Hans` / `zh-Hant` serve every region correctly once a preference
9923
+ * tag is run through Unicode's likely-subtags maximization (`zh-HK` maximizes
9924
+ * to `zh-Hant-HK`, `zh-SG` to `zh-Hans-SG`).
9925
+ *
9926
+ * Portuguese ships as `pt-BR` only. A bare `pt` maximizes to `pt-Latn-BR` and
9927
+ * resolves here; so does `pt-PT`, which is a deliberate lossy match — the two
9928
+ * differ enough in software vocabulary to notice, and a second catalog is the
9929
+ * documented way out.
9930
+ *
9931
+ * Browser-safe: this module and everything reachable from it must import only
9932
+ * `zod`, other browser-safe core modules, and platform-neutral globals. No
9933
+ * `node:` builtins, no `process.env` — the renderer bundles it.
9934
+ */
9935
+ declare const SUPPORTED_LOCALES: readonly ["en", "zh-Hans", "zh-Hant", "hi", "es", "ar", "fr", "bn", "pt-BR", "id", "ur"];
9936
+ type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
9937
+ /**
9938
+ * What the language preference holds: an enumerated locale, or the sentinel
9939
+ * meaning "follow the operating system or browser".
9940
+ *
9941
+ * The sentinel is stored and transported unresolved. Resolving it to a concrete
9942
+ * tag anywhere before the point of activation freezes the preference at
9943
+ * whatever the OS happened to say once, and the app silently stops tracking it.
9944
+ */
9945
+ type LanguagePreference = 'system' | SupportedLocale;
9946
+ //#endregion
9947
+ //#region ../core/src/i18n/resolve-locale.d.ts
9948
+ /** Which tier decided the active locale. Reported once at boot as telemetry. */
9949
+ type LocaleSource = 'override' | 'explicit' | 'system' | 'fallback';
9950
+ //#endregion
9910
9951
  //#region ../core/src/markdown/mdast-augmentation.d.ts
9911
9952
  interface WikiLinkMdast {
9912
9953
  type: 'wikiLink';
@@ -10325,6 +10366,18 @@ interface OwnManagedMcpEntryHit {
10325
10366
  */
10326
10367
  declare function probeOwnManagedEditorMcpEntry(editorId: EditorId, cwd: string, home?: string): OwnManagedMcpEntryHit | null;
10327
10368
  //#endregion
10369
+ //#region src/report-language.d.ts
10370
+ interface LanguageMetadata {
10371
+ /** `appearance.language` as stored — the setting as selected, `'system'` when unset. */
10372
+ preference: LanguagePreference;
10373
+ /** What that preference resolves to right now. */
10374
+ locale: SupportedLocale;
10375
+ /** Which resolution tier decided: an `OK_LANG` override, the stored choice, the OS list, or the fallback. */
10376
+ source: LocaleSource;
10377
+ /** The OS preferred-language list the `'system'` tier matched against, most-preferred first. */
10378
+ systemLanguages: readonly string[];
10379
+ }
10380
+ //#endregion
10328
10381
  //#region src/diagnose/bundle.d.ts
10329
10382
  interface DesktopMetadata {
10330
10383
  electronVersion: string;
@@ -11528,6 +11581,14 @@ interface CollectReportBundleOptions {
11528
11581
  * Electron host" and is recorded as such at both levels.
11529
11582
  */
11530
11583
  readDesktopEnv?: () => DesktopMetadata | null;
11584
+ /**
11585
+ * Interface-language source for the bundle's language block, recorded at both
11586
+ * levels. Defaults to the POSIX-environment reader, which is right for `ok
11587
+ * bug-report` from a shell; the desktop app injects its own, because a macOS
11588
+ * GUI process has no `LANG` to resolve against and would otherwise report the
11589
+ * fallback for every report filed from the app.
11590
+ */
11591
+ readLanguage?: () => LanguageMetadata;
11531
11592
  }
11532
11593
  interface ReportBundleResult {
11533
11594
  zipPath: string;
@@ -11555,5 +11616,5 @@ interface ReportBundleResult {
11555
11616
  */
11556
11617
  declare function collectReportBundle(opts: CollectReportBundleOptions): Promise<ReportBundleResult>;
11557
11618
  //#endregion
11558
- export { ALL_EDITOR_IDS, type BundleExtraFile, type BundleLogger, type CollectReportBundleOptions, EDITOR_LABELS, EDITOR_TARGETS, type EditorId, type EditorMcpResult, type EditorMcpTarget, type ExcludeWriteResult, type ExpectedShareRepo, type GhDetectResult, HOSTS_WITH_USER_SKILL_DIR, type IntegrationWriteOutcome, LAUNCH_CONFIG_NAME, type LoadConfigResult, type McpConfigDeclineEvent, type McpConfigDeclineScope, type McpConfigMigrateEvent, type McpConfigMigrateScope, type McpDeclineReason, type McpEntryClassification, type McpInstallOptions, type McpRemoveOutcome, type OwnManagedMcpEntryHit, PATH_SHIM_BEGIN, PATH_SHIM_BLOCK_RE, PATH_SHIM_END, type ParsedGitHubBlobUrl, type ParsedGitHubShareTarget, type ParsedGitHubTreeUrl, type PathDiscovery, type PathInstallConsent, type PathInstallMarker, type PreviewResult, type ProjectAiIntegrationsResult, type ProjectSkillRemoveResult, type ProjectSkillResult, type ReportBundleLevel, type ReportBundleResult, type ReportBundleSummary, type ResolveProjectRootOptions, type ResolveProjectRootResult, type ShareFolderValidationResult, type SharingMode, type SkillBundleTarget, type TokenStore, type TrackedRefusal, type UserMcpConfigsOptions, addOkPathsToGitExclude, assertProjectPathSafe, buildManagedServerEntry, buildMcpConfigDeclineEvent, buildMcpConfigMigrateEvent, classifyExistingMcpEntry, collectReportBundle, createTokenStore, defaultBugReportZipPath, detectGh, detectInstalledEditors, editorConfigPathDisplay, editorEntryLocator, formatTrackedRemediation, getExcludedOkPaths, getOkArtifactPaths, isEntryUpToDate, isOwnManagedEntry, loadConfig, makeLazyProbeTokenStore, okBugReportsDir, parseGitHubBlobUrl, parseGitHubShareUrl, parseGitHubTreeUrl, parseGitUrl, pathInstallMarkerPath, previewContent, probeOwnManagedEditorMcpEntry, probeTrackedOkPaths, readExistingMcpEntry, readSharingMode, readSkillsShared, redactSecrets as redactContent, removeOkPathsFromGitExclude, removeOwnMcpEntry, removeProjectSkill, removeUserGlobalSkillBundle, resolveProjectRoot, runStop, setSkillsShared, truncatePriorEntry, userGlobalSkillBundleTargets, validateLocalFolderForShare, writeEditorMcpConfig, writeProjectAiIntegrations, writeProjectSkill, writeUserMcpConfigs };
11619
+ export { ALL_EDITOR_IDS, type BundleExtraFile, type BundleLogger, type CollectReportBundleOptions, EDITOR_LABELS, EDITOR_TARGETS, type EditorId, type EditorMcpResult, type EditorMcpTarget, type ExcludeWriteResult, type ExpectedShareRepo, type GhDetectResult, HOSTS_WITH_USER_SKILL_DIR, type IntegrationWriteOutcome, LAUNCH_CONFIG_NAME, type LanguageMetadata, type LoadConfigResult, type McpConfigDeclineEvent, type McpConfigDeclineScope, type McpConfigMigrateEvent, type McpConfigMigrateScope, type McpDeclineReason, type McpEntryClassification, type McpInstallOptions, type McpRemoveOutcome, type OwnManagedMcpEntryHit, PATH_SHIM_BEGIN, PATH_SHIM_BLOCK_RE, PATH_SHIM_END, type ParsedGitHubBlobUrl, type ParsedGitHubShareTarget, type ParsedGitHubTreeUrl, type PathDiscovery, type PathInstallConsent, type PathInstallMarker, type PreviewResult, type ProjectAiIntegrationsResult, type ProjectSkillRemoveResult, type ProjectSkillResult, type ReportBundleLevel, type ReportBundleResult, type ReportBundleSummary, type ResolveProjectRootOptions, type ResolveProjectRootResult, type ShareFolderValidationResult, type SharingMode, type SkillBundleTarget, type TokenStore, type TrackedRefusal, type UserMcpConfigsOptions, addOkPathsToGitExclude, assertProjectPathSafe, buildManagedServerEntry, buildMcpConfigDeclineEvent, buildMcpConfigMigrateEvent, classifyExistingMcpEntry, collectReportBundle, createTokenStore, defaultBugReportZipPath, detectGh, detectInstalledEditors, editorConfigPathDisplay, editorEntryLocator, formatTrackedRemediation, getExcludedOkPaths, getOkArtifactPaths, isEntryUpToDate, isOwnManagedEntry, loadConfig, makeLazyProbeTokenStore, okBugReportsDir, parseGitHubBlobUrl, parseGitHubShareUrl, parseGitHubTreeUrl, parseGitUrl, pathInstallMarkerPath, previewContent, probeOwnManagedEditorMcpEntry, probeTrackedOkPaths, readExistingMcpEntry, readSharingMode, readSkillsShared, redactSecrets as redactContent, removeOkPathsFromGitExclude, removeOwnMcpEntry, removeProjectSkill, removeUserGlobalSkillBundle, resolveProjectRoot, runStop, setSkillsShared, truncatePriorEntry, userGlobalSkillBundleTargets, validateLocalFolderForShare, writeEditorMcpConfig, writeProjectAiIntegrations, writeProjectSkill, writeUserMcpConfigs };
11559
11620
  //# sourceMappingURL=index.d.mts.map