runwork 0.10.4 → 0.11.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/types.d.ts CHANGED
@@ -121,6 +121,25 @@ export interface McpServerConfig {
121
121
  lastConnectedAt?: number;
122
122
  toolCount?: number;
123
123
  }
124
+ /**
125
+ * Per-agent state tracking baked-in default permission rules that the CLI
126
+ * injects automatically during sync, with sticky opt-out semantics.
127
+ *
128
+ * lastInjected: what we wrote on the previous sync (used to detect when the
129
+ * user removed an entry from the agent's config file).
130
+ * userOptOuts: ever-accumulating set of entries the user has removed at least
131
+ * once. Never re-injected until the tool is removed entirely.
132
+ */
133
+ export interface AgentDefaultsState {
134
+ lastInjected: {
135
+ allow?: string[];
136
+ deny?: string[];
137
+ };
138
+ userOptOuts: {
139
+ allow?: string[];
140
+ deny?: string[];
141
+ };
142
+ }
124
143
  export interface SetupState {
125
144
  workspaceId: string;
126
145
  workspaceName: string;
@@ -147,6 +166,10 @@ export interface SetupState {
147
166
  * on every cycle while still catching newly-installed agents within a day.
148
167
  */
149
168
  lastDetectedAt?: string;
169
+ /** Schema version for agentDefaults; absence means bootstrap on next sync. */
170
+ agentDefaultsVersion?: number;
171
+ /** Per-agent slug => default rule state. Absence of an entry means bootstrap. */
172
+ agentDefaults?: Record<string, AgentDefaultsState>;
150
173
  }
151
174
  export interface WorkflowInfo {
152
175
  name: string;
package/dist/ui/banner.js CHANGED
@@ -10,9 +10,9 @@ function prettyPath(dir) {
10
10
  return dir;
11
11
  }
12
12
  export const SUPPORTED_AGENTS = [
13
+ { id: 'codex', name: 'OpenAI Codex', command: 'cd {dir} && codex' },
13
14
  { id: 'claude-code', name: 'Claude Code', command: 'cd {dir} && claude' },
14
15
  { id: 'cursor', name: 'Cursor', command: 'cursor {dir}' },
15
- { id: 'codex', name: 'OpenAI Codex', command: 'cd {dir} && codex' },
16
16
  { id: 'claude-desktop', name: 'Claude Desktop', command: 'Open Claude Desktop and add {dir} as a project folder' },
17
17
  { id: 'antigravity', name: 'Antigravity', command: 'cd {dir} && antigravity' },
18
18
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runwork",
3
- "version": "0.10.4",
3
+ "version": "0.11.0",
4
4
  "description": "CLI for Runwork: develop, preview, and deploy Runwork apps from your local machine.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Runwork <info@runwork.ai> (https://www.runwork.ai)",