@ycodium-ai/plugin-conversation 0.2.3120 → 0.2.3130

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/index.js CHANGED
@@ -893,7 +893,7 @@ var SessionMapHub = class {
893
893
  return;
894
894
  }
895
895
  this.cards.set(threadId, projected);
896
- await this.ctx.sessionProjections.set({
896
+ await this.ctx.plugins.sessionProjections.set({
897
897
  name: PROJECTION_NAME,
898
898
  threadId,
899
899
  value: jsonValue(projected)
@@ -1368,7 +1368,7 @@ function abort(signal) {
1368
1368
  // src/index.ts
1369
1369
  var index_default = definePlugin({
1370
1370
  id: "conversation",
1371
- apiVersion: 12,
1371
+ apiVersion: 14,
1372
1372
  activate(ctx) {
1373
1373
  activateSessionMap(ctx);
1374
1374
  }
package/locales/en.json CHANGED
@@ -449,75 +449,6 @@
449
449
  "usedPercentAria": "Context window {{percentage}} used",
450
450
  "usedTokensAria": "Context window {{tokens}} tokens used"
451
451
  },
452
- "accountUsage": {
453
- "collectedAt": "Collected {{time}}",
454
- "errorKeepLast": "Refresh failed. Showing last known usage.",
455
- "hideDetails": "Hide usage details",
456
- "kindBalance": "Balance",
457
- "kindCredits": "Credits",
458
- "kindQuotaWindow": "Quota window",
459
- "kindRateLimit": "Rate limit",
460
- "kindSpendCap": "Spend cap",
461
- "limit": "limit",
462
- "loading": "Loading usage",
463
- "noData": "Usage is not available yet",
464
- "outcomeError": "Could not refresh usage",
465
- "errorAuthRejected": "The provider rejected the sign-in for this agent, so usage could not be read",
466
- "errorUnreachable": "Could not reach the provider to read usage",
467
- "outcomeFresh": "Updated",
468
- "outcomeJoinedInflight": "Refresh already in progress",
469
- "outcomeOffline": "Offline. Showing last known usage.",
470
- "outcomePartial": "Partially updated",
471
- "outcomeRateLimited": "Rate limited. Try again later.",
472
- "outcomeRateLimitedUntil": "Rate limited. Try again at {{time}}.",
473
- "outcomeUnsupported": "Usage lookup is not supported",
474
- "percentRemaining": "{{value}}% remaining",
475
- "percentUsed": "{{value}}% used",
476
- "refresh": "Refresh",
477
- "refreshAria": "Refresh usage for {{instance}}",
478
- "refreshing": "Refreshing",
479
- "remaining": "remaining",
480
- "resetsAt": "Resets {{time}}",
481
- "scopeAccount": "account",
482
- "scopeOrg": "organization",
483
- "sharedScope": "Shared {{scope}}",
484
- "showDetails": "Show usage details",
485
- "stale": "Stale",
486
- "unknown": "Usage lookup is not available yet",
487
- "unlimited": "Unlimited",
488
- "unsupported": "Usage lookup is not supported for this agent",
489
- "unsupportedSignedOut": "This agent is not signed in, so there is no usage to read",
490
- "unsupportedDisabled": "This agent is turned off, so its usage is not being read",
491
- "unsupportedNoChannel": "This agent has no sign-in of its own to read usage from",
492
- "used": "used",
493
- "windowDays_one": "{{count}}-day window",
494
- "windowDays_other": "{{count}}-day window",
495
- "windowHours_one": "{{count}}-hour window",
496
- "windowHours_other": "{{count}}-hour window",
497
- "windowMinutes_one": "{{count}}-minute window",
498
- "windowMinutes_other": "{{count}}-minute window",
499
- "windowSeconds_one": "{{count}}-second window",
500
- "windowSeconds_other": "{{count}}-second window",
501
- "errorResponseInvalid": "The provider's usage reply had an unexpected shape, so it could not be read",
502
- "errorReaderUnloaded": "This agent's plugin was unloaded before usage could be read",
503
- "read": "Read",
504
- "neverRead": "Not read yet. Press Read to check this account's limits.",
505
- "errorMissingCredentials": "Not signed in, or the sign-in has expired.",
506
- "errorCustomEndpoint": "This provider uses its own model address or key, so the plan's limits do not apply to it.",
507
- "errorUnsupportedLogin": "This kind of sign-in has no limits to read.",
508
- "redeemAction": "Use a reset credit",
509
- "redeemAria": "Use a reset credit for {{instance}}",
510
- "redeeming": "Using…",
511
- "redeemConfirmTitle": "Use a reset credit?",
512
- "redeemConfirmDescription": "This uses one of the {{count}} reset credits on this account and sets the current usage window of {{instance}} back to zero. It cannot be undone.",
513
- "redeemConfirm": "Use reset credit",
514
- "redeemCancel": "Cancel",
515
- "redeemOutcomeReset": "Done. The current usage window was reset.",
516
- "redeemOutcomeNothingToReset": "Nothing to reset: the current window has not been used yet. No credit was spent.",
517
- "redeemOutcomeNoCredit": "This account has no reset credit available.",
518
- "redeemOutcomeAlreadyRedeemed": "This reset was already applied. No second credit was spent.",
519
- "redeemFailed": "The reset could not be confirmed. Refresh to see the current limits."
520
- },
521
452
  "modelPicker": {
522
453
  "addToFavorites": "Add to favorites",
523
454
  "favorites": "Favorites",
@@ -449,75 +449,6 @@
449
449
  "usedPercentAria": "上下文窗口已用 {{percentage}}",
450
450
  "usedTokensAria": "上下文窗口已用 {{tokens}} 个 token"
451
451
  },
452
- "accountUsage": {
453
- "collectedAt": "收集于 {{time}}",
454
- "errorKeepLast": "刷新失败。显示最近一次已知的使用量。",
455
- "hideDetails": "隐藏使用量详情",
456
- "kindBalance": "余额",
457
- "kindCredits": "额度",
458
- "kindQuotaWindow": "配额窗口",
459
- "kindRateLimit": "速率限制",
460
- "kindSpendCap": "支出上限",
461
- "limit": "限额",
462
- "loading": "正在加载使用量",
463
- "noData": "使用量暂不可用",
464
- "outcomeError": "无法刷新使用量",
465
- "errorAuthRejected": "厂商拒绝了这双手的登录,读不到用量",
466
- "errorUnreachable": "连不上厂商,读不到用量",
467
- "outcomeFresh": "已更新",
468
- "outcomeJoinedInflight": "刷新已在进行中",
469
- "outcomeOffline": "当前离线。显示最近一次已知的使用量。",
470
- "outcomePartial": "部分更新",
471
- "outcomeRateLimited": "已触发速率限制。请稍后重试。",
472
- "outcomeRateLimitedUntil": "已触发速率限制。请于 {{time}} 重试。",
473
- "outcomeUnsupported": "不支持查询使用量",
474
- "percentRemaining": "剩余 {{value}}%",
475
- "percentUsed": "已使用 {{value}}%",
476
- "refresh": "刷新",
477
- "refreshAria": "刷新 {{instance}} 的使用量",
478
- "refreshing": "正在刷新",
479
- "remaining": "剩余",
480
- "resetsAt": "将于 {{time}} 重置",
481
- "scopeAccount": "账号",
482
- "scopeOrg": "组织",
483
- "sharedScope": "共享{{scope}}",
484
- "showDetails": "显示使用量详情",
485
- "stale": "已过期",
486
- "unknown": "使用量查询尚不可用",
487
- "unlimited": "无限",
488
- "unsupported": "这个 agent 不支持用量查询",
489
- "unsupportedSignedOut": "这个 agent 还没登录,读不到用量",
490
- "unsupportedDisabled": "这个 agent 被停用了,没在读它的用量",
491
- "unsupportedNoChannel": "这个 agent 没有自己的登录,无从读用量",
492
- "used": "已使用",
493
- "windowDays_one": "{{count}} 天窗口",
494
- "windowDays_other": "{{count}} 天窗口",
495
- "windowHours_one": "{{count}} 小时窗口",
496
- "windowHours_other": "{{count}} 小时窗口",
497
- "windowMinutes_one": "{{count}} 分钟窗口",
498
- "windowMinutes_other": "{{count}} 分钟窗口",
499
- "windowSeconds_one": "{{count}} 秒窗口",
500
- "windowSeconds_other": "{{count}} 秒窗口",
501
- "errorResponseInvalid": "provider 返回的用量格式不对,读不出来",
502
- "errorReaderUnloaded": "读取用量前,这个 agent 的插件已卸载",
503
- "read": "查询",
504
- "neverRead": "还没查过。点「查询」看这个账号的额度。",
505
- "errorMissingCredentials": "没有登录,或登录已过期。",
506
- "errorCustomEndpoint": "这个 provider 用的是自己的模型地址或密钥,套餐的额度与它无关。",
507
- "errorUnsupportedLogin": "这种登录方式没有可读的额度。",
508
- "redeemAction": "用一次重置额度",
509
- "redeemAria": "为 {{instance}} 用一次重置额度",
510
- "redeeming": "正在使用…",
511
- "redeemConfirmTitle": "用一次重置额度?",
512
- "redeemConfirmDescription": "这会用掉这个账号 {{count}} 张重置额度中的一张,把 {{instance}} 当前的额度窗口清零,之后无法撤销。",
513
- "redeemConfirm": "用掉一张",
514
- "redeemCancel": "取消",
515
- "redeemOutcomeReset": "已重置,当前额度窗口已清零。",
516
- "redeemOutcomeNothingToReset": "没有可重置的:当前窗口还没有用量,没有花掉重置额度。",
517
- "redeemOutcomeNoCredit": "这个账号没有可用的重置额度。",
518
- "redeemOutcomeAlreadyRedeemed": "这次重置已经生效过,没有再花一张。",
519
- "redeemFailed": "没能确认重置是否生效。刷新一下,看看当前的额度。"
520
- },
521
452
  "modelPicker": {
522
453
  "addToFavorites": "添加到收藏",
523
454
  "favorites": "收藏",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-conversation",
3
- "version": "0.2.3120",
3
+ "version": "0.2.3130",
4
4
  "description": "The conversation surface: chat, trajectory, and session map, the input card, the queue, and turn navigation.",
5
5
  "keywords": [
6
6
  "chat",
@@ -41,7 +41,7 @@
41
41
  "tailwindcss": "^4.0.0",
42
42
  "typescript": "~6.0.3",
43
43
  "vite-plus": "0.2.2",
44
- "@ycodium-ai/plugin-api": "0.2.3120",
44
+ "@ycodium-ai/plugin-api": "0.2.3130",
45
45
  "ycodium-composer-tokens": "0.0.0",
46
46
  "ycodium-system-text": "0.0.0",
47
47
  "ycodium-workspace-path": "0.0.0"