auix 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2458,7 +2458,8 @@ const pullCommand = defineCommand({
2458
2458
  project,
2459
2459
  environment: args.env,
2460
2460
  app,
2461
- branch: args.branch
2461
+ branch: args.branch,
2462
+ context: { intent: "pull" }
2462
2463
  });
2463
2464
  if (!res.ok) {
2464
2465
  const text = await res.text().catch(() => "");
@@ -2797,7 +2798,7 @@ async function ensureToken(project) {
2797
2798
  os: process.platform,
2798
2799
  arch: process.arch,
2799
2800
  nodeVersion: process.version,
2800
- cliVersion: "0.0.4",
2801
+ cliVersion: "0.0.5",
2801
2802
  shell: process.env.SHELL ?? process.env.COMSPEC,
2802
2803
  ci: isCI || void 0,
2803
2804
  ciName: process.env.GITHUB_ACTIONS ? "github-actions" : process.env.GITLAB_CI ? "gitlab-ci" : process.env.CIRCLECI ? "circleci" : void 0,
@@ -2876,7 +2877,11 @@ const runCommand = defineCommand({
2876
2877
  project: projectSlug,
2877
2878
  environment: args.env,
2878
2879
  app,
2879
- branch: args.branch
2880
+ branch: args.branch,
2881
+ context: {
2882
+ intent: "run",
2883
+ command: command.join(" ")
2884
+ }
2880
2885
  };
2881
2886
  const resolveVars = async () => {
2882
2887
  const res = await apiRequestWithToken("/v1/env/resolve", resolvePayload, token);
@@ -3707,7 +3712,7 @@ const whoamiCommand = defineCommand({
3707
3712
  runMain(defineCommand({
3708
3713
  meta: {
3709
3714
  name: "auix",
3710
- version: "0.0.4",
3715
+ version: "0.0.5",
3711
3716
  description: "AUIX CLI"
3712
3717
  },
3713
3718
  subCommands: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auix",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "CLI for auix platform",
5
5
  "type": "module",
6
6
  "bin": {