@vm0/cli 9.202.2 → 9.204.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/{chunk-ABA3BGIH.js → chunk-NQ6BMAY6.js} +847 -605
- package/{chunk-ABA3BGIH.js.map → chunk-NQ6BMAY6.js.map} +1 -1
- package/{figma.generated-EYCDT6DM.js → figma.generated-PICSV4JI.js} +2 -6
- package/figma.generated-PICSV4JI.js.map +1 -0
- package/index.js +9 -9
- package/package.json +1 -1
- package/zero.js +506 -317
- package/zero.js.map +1 -1
- package/figma.generated-EYCDT6DM.js.map +0 -1
|
@@ -10,7 +10,7 @@ init_esm_shims();
|
|
|
10
10
|
var firewallPermissionMetadata = {
|
|
11
11
|
"type": "figma",
|
|
12
12
|
"label": "Figma",
|
|
13
|
-
"permissionCount":
|
|
13
|
+
"permissionCount": 19,
|
|
14
14
|
"permissions": [
|
|
15
15
|
{
|
|
16
16
|
"name": "current_user:read",
|
|
@@ -52,10 +52,6 @@ var firewallPermissionMetadata = {
|
|
|
52
52
|
"name": "file_versions:read",
|
|
53
53
|
"description": "Read the version history for files you can access."
|
|
54
54
|
},
|
|
55
|
-
{
|
|
56
|
-
"name": "files:read",
|
|
57
|
-
"description": "Deprecated. Read files, projects, users, versions, comments, components & styles, and webhooks."
|
|
58
|
-
},
|
|
59
55
|
{
|
|
60
56
|
"name": "library_analytics:read",
|
|
61
57
|
"description": "Read library analytics data."
|
|
@@ -101,4 +97,4 @@ var firewallPermissionMetadata = {
|
|
|
101
97
|
export {
|
|
102
98
|
firewallPermissionMetadata
|
|
103
99
|
};
|
|
104
|
-
//# sourceMappingURL=figma.generated-
|
|
100
|
+
//# sourceMappingURL=figma.generated-PICSV4JI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../packages/connectors/src/firewall-metadata/details/figma.generated.ts"],"sourcesContent":["// Auto-generated by @vm0/firewalls-generator.\n// Regenerate: cd turbo && pnpm -F @vm0/firewalls-generator generate\n//\n// DO NOT EDIT THIS FILE MANUALLY.\nimport type { FirewallPermissionDetailMetadata } from \"../types\";\n\nexport const firewallPermissionMetadata = {\n \"type\": \"figma\",\n \"label\": \"Figma\",\n \"permissionCount\": 19,\n \"permissions\": [\n {\n \"name\": \"current_user:read\",\n \"description\": \"Read your name, email, and profile image.\"\n },\n {\n \"name\": \"file_comments:read\",\n \"description\": \"Read the comments for files.\"\n },\n {\n \"name\": \"file_comments:write\",\n \"description\": \"Post and delete comments and comment reactions in files.\"\n },\n {\n \"name\": \"file_content:read\",\n \"description\": \"Read the contents of files, such as nodes and the editor type.\"\n },\n {\n \"name\": \"file_dev_resources:read\",\n \"description\": \"Read dev resources in files.\"\n },\n {\n \"name\": \"file_dev_resources:write\",\n \"description\": \"Write to dev resources in files.\"\n },\n {\n \"name\": \"file_metadata:read\",\n \"description\": \"Read metadata of files.\"\n },\n {\n \"name\": \"file_variables:read\",\n \"description\": \"Read variables in Figma file. Note: this is only available to members in Enterprise organizations.\"\n },\n {\n \"name\": \"file_variables:write\",\n \"description\": \"Write to variables in Figma file. Note: this is only available to members in Enterprise organizations.\"\n },\n {\n \"name\": \"file_versions:read\",\n \"description\": \"Read the version history for files you can access.\"\n },\n {\n \"name\": \"library_analytics:read\",\n \"description\": \"Read library analytics data.\"\n },\n {\n \"name\": \"library_assets:read\",\n \"description\": \"Read data of individual published components and styles.\"\n },\n {\n \"name\": \"library_content:read\",\n \"description\": \"Read published components and styles of files.\"\n },\n {\n \"name\": \"org:activity_log_read\",\n \"description\": \"Read activity logs in the organization.\"\n },\n {\n \"name\": \"project_metadata:read\",\n \"description\": \"Read metadata of projects.\"\n },\n {\n \"name\": \"projects:read\",\n \"description\": \"List projects and files in projects.\"\n },\n {\n \"name\": \"team_library_content:read\",\n \"description\": \"Read published components and styles of teams.\"\n },\n {\n \"name\": \"webhooks:read\",\n \"description\": \"Read metadata of webhooks.\"\n },\n {\n \"name\": \"webhooks:write\",\n \"description\": \"Create and manage webhooks.\"\n }\n ],\n \"defaultPolicy\": {\n \"permissionDefault\": \"allow\",\n \"unknownPolicy\": \"allow\"\n }\n} as const satisfies FirewallPermissionDetailMetadata;\n"],"mappings":";;;;;;;;AAAA;AAMO,IAAM,6BAA6B;AAAA,EACxC,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,mBAAmB;AAAA,EACnB,eAAe;AAAA,IACb;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,IACA;AAAA,MACE,QAAQ;AAAA,MACR,eAAe;AAAA,IACjB;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,qBAAqB;AAAA,IACrB,iBAAiB;AAAA,EACnB;AACF;","names":[]}
|
package/index.js
CHANGED
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
uo,
|
|
76
76
|
volumeConfigSchema,
|
|
77
77
|
withErrorHandler
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-NQ6BMAY6.js";
|
|
79
79
|
import "./chunk-NR42YJMI.js";
|
|
80
80
|
import {
|
|
81
81
|
__toESM,
|
|
@@ -409,7 +409,7 @@ function getConfigPath() {
|
|
|
409
409
|
return join(os.homedir(), ".vm0", "config.json");
|
|
410
410
|
}
|
|
411
411
|
var infoCommand = new Command().name("info").description("Display environment and debug information").action(async () => {
|
|
412
|
-
console.log(source_default.bold(`VM0 CLI v${"9.
|
|
412
|
+
console.log(source_default.bold(`VM0 CLI v${"9.204.0"}`));
|
|
413
413
|
console.log();
|
|
414
414
|
const config = await loadConfig();
|
|
415
415
|
const hasEnvToken = !!process.env.VM0_TOKEN;
|
|
@@ -1111,7 +1111,7 @@ var composeCommand = new Command().name("compose").description("Create or update
|
|
|
1111
1111
|
options.autoUpdate = false;
|
|
1112
1112
|
}
|
|
1113
1113
|
if (options.autoUpdate !== false) {
|
|
1114
|
-
await startSilentUpgrade("9.
|
|
1114
|
+
await startSilentUpgrade("9.204.0");
|
|
1115
1115
|
}
|
|
1116
1116
|
try {
|
|
1117
1117
|
const { config, agentName, agent, basePath } = await loadAndValidateConfig(resolvedConfigFile);
|
|
@@ -1208,7 +1208,7 @@ var mainRunCommand = new Command().name("run").description("Run an agent").argum
|
|
|
1208
1208
|
withErrorHandler(
|
|
1209
1209
|
async (identifier, prompt, options) => {
|
|
1210
1210
|
if (options.autoUpdate !== false) {
|
|
1211
|
-
await startSilentUpgrade("9.
|
|
1211
|
+
await startSilentUpgrade("9.204.0");
|
|
1212
1212
|
}
|
|
1213
1213
|
const { name, version } = parseIdentifier(identifier);
|
|
1214
1214
|
let composeId;
|
|
@@ -3014,13 +3014,13 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3014
3014
|
if (latestVersion === null) {
|
|
3015
3015
|
throw new Error("Could not check for updates. Please try again later.");
|
|
3016
3016
|
}
|
|
3017
|
-
if (latestVersion === "9.
|
|
3018
|
-
console.log(source_default.green(`\u2713 Already up to date (${"9.
|
|
3017
|
+
if (latestVersion === "9.204.0") {
|
|
3018
|
+
console.log(source_default.green(`\u2713 Already up to date (${"9.204.0"})`));
|
|
3019
3019
|
return;
|
|
3020
3020
|
}
|
|
3021
3021
|
console.log(
|
|
3022
3022
|
source_default.yellow(
|
|
3023
|
-
`Current version: ${"9.
|
|
3023
|
+
`Current version: ${"9.204.0"} -> Latest version: ${latestVersion}`
|
|
3024
3024
|
)
|
|
3025
3025
|
);
|
|
3026
3026
|
console.log();
|
|
@@ -3047,7 +3047,7 @@ var upgradeCommand = new Command().name("upgrade").description("Upgrade vm0 CLI
|
|
|
3047
3047
|
const success = await performUpgrade(packageManager);
|
|
3048
3048
|
if (success) {
|
|
3049
3049
|
console.log(
|
|
3050
|
-
source_default.green(`\u2713 Upgraded from ${"9.
|
|
3050
|
+
source_default.green(`\u2713 Upgraded from ${"9.204.0"} to ${latestVersion}`)
|
|
3051
3051
|
);
|
|
3052
3052
|
return;
|
|
3053
3053
|
}
|
|
@@ -3114,7 +3114,7 @@ var whoamiCommand = new Command().name("whoami").description("Show current ident
|
|
|
3114
3114
|
|
|
3115
3115
|
// src/index.ts
|
|
3116
3116
|
var program = new Command();
|
|
3117
|
-
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.
|
|
3117
|
+
program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.204.0");
|
|
3118
3118
|
program.addCommand(authCommand);
|
|
3119
3119
|
program.addCommand(infoCommand);
|
|
3120
3120
|
program.addCommand(composeCommand);
|