diff --git a/skills/cloud-sql-postgres-admin/SKILL.md b/skills/cloud-sql-postgres-admin/SKILL.md index f9256c6..0d09be9 100644 --- a/skills/cloud-sql-postgres-admin/SKILL.md +++ b/skills/cloud-sql-postgres-admin/SKILL.md @@ -15,73 +15,88 @@ All scripts can be executed using Node.js. Replace `` and ` arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_database.js b/skills/cloud-sql-postgres-admin/scripts/create_database.js index 9bc5dbb..7b74296 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_database.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_database.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_instance.js b/skills/cloud-sql-postgres-admin/scripts/create_instance.js index 3961581..00025ad 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_user.js b/skills/cloud-sql-postgres-admin/scripts/create_user.js index 33d664d..61763cf 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_user.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_user.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/get_instance.js b/skills/cloud-sql-postgres-admin/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-admin/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_databases.js b/skills/cloud-sql-postgres-admin/scripts/list_databases.js index 5450ed4..d6a1b0a 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_databases.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_databases.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_instances.js b/skills/cloud-sql-postgres-admin/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/SKILL.md b/skills/cloud-sql-postgres-data/SKILL.md index e03b432..e3ce68e 100644 --- a/skills/cloud-sql-postgres-data/SKILL.md +++ b/skills/cloud-sql-postgres-data/SKILL.md @@ -15,17 +15,20 @@ All scripts can be executed using Node.js. Replace `` and ` arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_indexes.js b/skills/cloud-sql-postgres-data/scripts/list_indexes.js index b64b34d..4bd05b7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_indexes.js +++ b/skills/cloud-sql-postgres-data/scripts/list_indexes.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_schemas.js b/skills/cloud-sql-postgres-data/scripts/list_schemas.js index e7f358c..75e9c9e 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_schemas.js +++ b/skills/cloud-sql-postgres-data/scripts/list_schemas.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_sequences.js b/skills/cloud-sql-postgres-data/scripts/list_sequences.js index 034c86f..8886e4f 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_sequences.js +++ b/skills/cloud-sql-postgres-data/scripts/list_sequences.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js index a148eaa..e1caba8 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js +++ b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_tables.js b/skills/cloud-sql-postgres-data/scripts/list_tables.js index 5131cd8..e871600 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_tables.js +++ b/skills/cloud-sql-postgres-data/scripts/list_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_triggers.js b/skills/cloud-sql-postgres-data/scripts/list_triggers.js index ed8db23..74d85fe 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_triggers.js +++ b/skills/cloud-sql-postgres-data/scripts/list_triggers.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_views.js b/skills/cloud-sql-postgres-data/scripts/list_views.js index f79f460..c1a55d7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_views.js +++ b/skills/cloud-sql-postgres-data/scripts/list_views.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/SKILL.md b/skills/cloud-sql-postgres-health/SKILL.md index 13227df..2a90905 100644 --- a/skills/cloud-sql-postgres-health/SKILL.md +++ b/skills/cloud-sql-postgres-health/SKILL.md @@ -15,8 +15,10 @@ All scripts can be executed using Node.js. Replace `` and ` arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js index 3e6918e..df020c8 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js index 7dd8663..40fb529 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js index a1e48b9..3b299c8 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js index 612d61a..901c983 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_locks.js b/skills/cloud-sql-postgres-health/scripts/list_locks.js index 160c17a..67d6829 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-health/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js index 74ae27f..156f3e5 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js index 9d4c56b..616ea1c 100755 --- a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/SKILL.md b/skills/cloud-sql-postgres-lifecycle/SKILL.md index a2e7221..9f79412 100644 --- a/skills/cloud-sql-postgres-lifecycle/SKILL.md +++ b/skills/cloud-sql-postgres-lifecycle/SKILL.md @@ -15,20 +15,23 @@ All scripts can be executed using Node.js. Replace `` and ` arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js index 1fc2395..1695cb0 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js index 510ac4c..24f4e3f 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/SKILL.md b/skills/cloud-sql-postgres-monitor/SKILL.md index 1d8c4e6..393fc61 100644 --- a/skills/cloud-sql-postgres-monitor/SKILL.md +++ b/skills/cloud-sql-postgres-monitor/SKILL.md @@ -15,8 +15,10 @@ All scripts can be executed using Node.js. Replace `` and ` arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js index 3e6918e..df020c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js index 7dd8663..40fb529 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js index a1e48b9..3b299c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js index 612d61a..901c983 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js index 160c17a..67d6829 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js index 74ae27f..156f3e5 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js index 9d4c56b..616ea1c 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/SKILL.md b/skills/cloud-sql-postgres-replication/SKILL.md index 9ee14e1..7465814 100644 --- a/skills/cloud-sql-postgres-replication/SKILL.md +++ b/skills/cloud-sql-postgres-replication/SKILL.md @@ -15,35 +15,45 @@ All scripts can be executed using Node.js. Replace `` and ` arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js index 31267e1..863192e 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js index 69c153e..f09c135 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_roles.js b/skills/cloud-sql-postgres-replication/scripts/list_roles.js index fedde92..3bf2597 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_roles.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_roles.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js index 7c2b11d..ff6c875 100755 --- a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js +++ b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/SKILL.md b/skills/cloud-sql-postgres-view-config/SKILL.md index 36f6528..dca778d 100644 --- a/skills/cloud-sql-postgres-view-config/SKILL.md +++ b/skills/cloud-sql-postgres-view-config/SKILL.md @@ -15,22 +15,29 @@ All scripts can be executed using Node.js. Replace `` and ` arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js index bb6c8a0..815794b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js index 3744145..cf05335 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js index a04fd3f..50a101a 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env });