@spotpatch/runtime 1.7.0 → 1.8.0

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.cjs CHANGED
@@ -1768,19 +1768,21 @@ var AGENT_PANEL_STYLES = `
1768
1768
  width: anchor-size(width);
1769
1769
  max-height: min(280px, 40vh);
1770
1770
  margin: 0;
1771
- overflow: hidden;
1771
+ overflow: auto;
1772
1772
  border: 1px solid rgb(139 124 247 / 28%);
1773
1773
  border-radius: 12px;
1774
1774
  padding: 6px;
1775
1775
  background: #10151e;
1776
1776
  box-shadow: 0 18px 50px rgb(0 0 0 / 38%);
1777
- opacity: 0;
1778
- transform: translateY(-5px) scale(.985);
1777
+ opacity: 1;
1778
+ transform: translateY(0) scale(1);
1779
1779
  transition: opacity 150ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1), overlay 180ms allow-discrete, display 180ms allow-discrete;
1780
1780
  }
1781
- ::picker(select):popover-open { opacity: 1; transform: translateY(0) scale(1); }
1782
1781
  @starting-style {
1783
- ::picker(select):popover-open { opacity: 0; transform: translateY(-5px) scale(.985); }
1782
+ .spotpatch-agent select::picker(select):popover-open {
1783
+ opacity: 0;
1784
+ transform: translateY(-5px) scale(.985);
1785
+ }
1784
1786
  }
1785
1787
  .spotpatch-agent select option {
1786
1788
  min-height: 42px;
@@ -2775,14 +2777,14 @@ var UI_MESSAGES = Object.freeze({
2775
2777
  mode: "Execution mode",
2776
2778
  review: "Review",
2777
2779
  autoGated: "Auto gated",
2778
- trustedFast: "Trusted fast",
2780
+ trustedFast: "Trusted direct",
2779
2781
  provider: "Provider",
2780
2782
  model: "Model",
2781
2783
  providerAriaLabel: "AI provider",
2782
2784
  modelAriaLabel: "AI model",
2783
2785
  providerUnavailable: "Provider configuration is unavailable.",
2784
2786
  consent: (provider) => `I understand selected context and allowed source may be sent to ${provider}; its data policy is my responsibility.`,
2785
- trustedFastConsent: (provider) => `Enable trusted fast mode for ${provider}: send allowed project context, include current local changes, and directly apply AI changes after required checks, including file deletions and configuration changes.`,
2787
+ trustedFastConsent: (provider) => `Enable trusted direct mode for ${provider}: send allowed project context, include current local changes, skip project validation checks, and immediately apply AI changes, including file deletions and configuration changes.`,
2786
2788
  connectionNotTested: "Optional connection check not run",
2787
2789
  workspaceNotChecked: "Local workspace not checked",
2788
2790
  checkingWorkspace: "Checking Git workspace and isolated execution\u2026",
@@ -2794,7 +2796,7 @@ var UI_MESSAGES = Object.freeze({
2794
2796
  capabilityVerified: "Agent capability verified",
2795
2797
  capabilityVerifiedAnnouncement: "AI provider capability verified.",
2796
2798
  testingCapability: "Testing authentication, tools, continuation, and streaming\u2026",
2797
- applying: "Applying validated changes to the project.",
2799
+ applying: "Applying changes to the project.",
2798
2800
  cancelling: "Cancelling Agent job.",
2799
2801
  reverting: "Reverting the applied Agent change.",
2800
2802
  consentRequired: "Confirm remote provider data transmission before running AI.",
@@ -2913,14 +2915,14 @@ var UI_MESSAGES = Object.freeze({
2913
2915
  mode: "\u6267\u884C\u65B9\u5F0F",
2914
2916
  review: "\u5BA1\u9605\u6A21\u5F0F",
2915
2917
  autoGated: "\u53D7\u63A7\u81EA\u52A8\u6A21\u5F0F",
2916
- trustedFast: "\u53EF\u4FE1\u5FEB\u901F\u6A21\u5F0F",
2918
+ trustedFast: "\u53EF\u4FE1\u6781\u901F\u6A21\u5F0F",
2917
2919
  provider: "\u6A21\u578B\u670D\u52A1",
2918
2920
  model: "\u6A21\u578B",
2919
2921
  providerAriaLabel: "AI \u6A21\u578B\u670D\u52A1",
2920
2922
  modelAriaLabel: "AI \u6A21\u578B",
2921
2923
  providerUnavailable: "\u6A21\u578B\u670D\u52A1\u914D\u7F6E\u4E0D\u53EF\u7528\u3002",
2922
2924
  consent: (provider) => `\u6211\u4E86\u89E3\u9009\u4E2D\u4E0A\u4E0B\u6587\u4E0E\u83B7\u51C6\u6E90\u7801\u53EF\u80FD\u53D1\u9001\u5230 ${provider}\uFF0C\u5E76\u81EA\u884C\u8D1F\u8D23\u5176\u6570\u636E\u7B56\u7565\u3002`,
2923
- trustedFastConsent: (provider) => `\u4E3A ${provider} \u542F\u7528\u53EF\u4FE1\u5FEB\u901F\u6A21\u5F0F\uFF1A\u53D1\u9001\u83B7\u51C6\u7684\u9879\u76EE\u4E0A\u4E0B\u6587\u3001\u7EB3\u5165\u5F53\u524D\u672C\u5730\u4FEE\u6539\uFF0C\u5E76\u5728\u5FC5\u9700\u68C0\u67E5\u901A\u8FC7\u540E\u76F4\u63A5\u5E94\u7528 AI \u53D8\u66F4\uFF0C\u5305\u62EC\u5220\u9664\u6587\u4EF6\u4E0E\u914D\u7F6E\u53D8\u66F4\u3002`,
2925
+ trustedFastConsent: (provider) => `\u4E3A ${provider} \u542F\u7528\u53EF\u4FE1\u6781\u901F\u6A21\u5F0F\uFF1A\u53D1\u9001\u83B7\u51C6\u7684\u9879\u76EE\u4E0A\u4E0B\u6587\u3001\u7EB3\u5165\u5F53\u524D\u672C\u5730\u4FEE\u6539\u3001\u8DF3\u8FC7\u9879\u76EE\u9A8C\u8BC1\u68C0\u67E5\uFF0C\u5E76\u7ACB\u5373\u5E94\u7528 AI \u53D8\u66F4\uFF0C\u5305\u62EC\u5220\u9664\u6587\u4EF6\u4E0E\u914D\u7F6E\u53D8\u66F4\u3002`,
2924
2926
  connectionNotTested: "\u5C1A\u672A\u6267\u884C\u53EF\u9009\u8FDE\u63A5\u68C0\u67E5",
2925
2927
  workspaceNotChecked: "\u5C1A\u672A\u68C0\u67E5\u672C\u5730\u5DE5\u4F5C\u533A",
2926
2928
  checkingWorkspace: "\u6B63\u5728\u68C0\u67E5 Git \u5DE5\u4F5C\u533A\u4E0E\u9694\u79BB\u6267\u884C\u73AF\u5883\u2026\u2026",
@@ -2932,7 +2934,7 @@ var UI_MESSAGES = Object.freeze({
2932
2934
  capabilityVerified: "Agent \u80FD\u529B\u9A8C\u8BC1\u901A\u8FC7",
2933
2935
  capabilityVerifiedAnnouncement: "AI \u6A21\u578B\u670D\u52A1\u80FD\u529B\u9A8C\u8BC1\u901A\u8FC7\u3002",
2934
2936
  testingCapability: "\u6B63\u5728\u9A8C\u8BC1\u9274\u6743\u3001\u5DE5\u5177\u8C03\u7528\u3001\u8FDE\u7EED\u8C03\u7528\u4E0E\u6D41\u5F0F\u54CD\u5E94\u2026\u2026",
2935
- applying: "\u6B63\u5728\u5C06\u5DF2\u9A8C\u8BC1\u53D8\u66F4\u5E94\u7528\u5230\u9879\u76EE\u3002",
2937
+ applying: "\u6B63\u5728\u5C06\u53D8\u66F4\u5E94\u7528\u5230\u9879\u76EE\u3002",
2936
2938
  cancelling: "\u6B63\u5728\u53D6\u6D88 Agent \u4EFB\u52A1\u3002",
2937
2939
  reverting: "\u6B63\u5728\u64A4\u9500\u5DF2\u5E94\u7528\u7684 Agent \u53D8\u66F4\u3002",
2938
2940
  consentRequired: "\u8FD0\u884C AI \u524D\uFF0C\u8BF7\u5148\u786E\u8BA4\u5141\u8BB8\u5411\u8FDC\u7A0B\u6A21\u578B\u670D\u52A1\u4F20\u8F93\u6570\u636E\u3002",