@devpad/cli 2.0.2 → 2.0.3

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 +159 -443
  2. package/package.json +10 -11
package/dist/index.js CHANGED
@@ -8291,7 +8291,7 @@ var coerce = {
8291
8291
  date: (arg) => ZodDate.create({ ...arg, coerce: true })
8292
8292
  };
8293
8293
  var NEVER = INVALID;
8294
- // ../api/dist/chunk-WTGVONUB.js
8294
+ // ../api/dist/chunk-INGCIUMX.js
8295
8295
  var ArrayBufferedQueue = class {
8296
8296
  constructor(_capacity) {
8297
8297
  this._capacity = _capacity;
@@ -9249,46 +9249,6 @@ class ForeignKey {
9249
9249
  function uniqueKeyName2(table, columns) {
9250
9250
  return `${table[TableName]}_${columns.join("_")}_unique`;
9251
9251
  }
9252
- function unique(name) {
9253
- return new UniqueOnConstraintBuilder(name);
9254
- }
9255
-
9256
- class UniqueConstraintBuilder {
9257
- constructor(columns, name) {
9258
- this.name = name;
9259
- this.columns = columns;
9260
- }
9261
- static [entityKind] = "SQLiteUniqueConstraintBuilder";
9262
- columns;
9263
- build(table) {
9264
- return new UniqueConstraint(table, this.columns, this.name);
9265
- }
9266
- }
9267
-
9268
- class UniqueOnConstraintBuilder {
9269
- static [entityKind] = "SQLiteUniqueOnConstraintBuilder";
9270
- name;
9271
- constructor(name) {
9272
- this.name = name;
9273
- }
9274
- on(...columns) {
9275
- return new UniqueConstraintBuilder(columns, this.name);
9276
- }
9277
- }
9278
-
9279
- class UniqueConstraint {
9280
- constructor(table, columns, name) {
9281
- this.table = table;
9282
- this.columns = columns;
9283
- this.name = name ?? uniqueKeyName2(this.table, this.columns.map((column) => column.name));
9284
- }
9285
- static [entityKind] = "SQLiteUniqueConstraint";
9286
- columns;
9287
- name;
9288
- getName() {
9289
- return this.name;
9290
- }
9291
- }
9292
9252
 
9293
9253
  // ../../node_modules/drizzle-orm/sqlite-core/columns/common.js
9294
9254
  class SQLiteColumnBuilder extends ColumnBuilder {
@@ -9571,7 +9531,6 @@ function integer(a, b) {
9571
9531
  }
9572
9532
  return new SQLiteIntegerBuilder(name);
9573
9533
  }
9574
- var int = integer;
9575
9534
 
9576
9535
  // ../../node_modules/drizzle-orm/sqlite-core/columns/numeric.js
9577
9536
  class SQLiteNumericBuilder extends SQLiteColumnBuilder {
@@ -9767,9 +9726,9 @@ var sqliteTable = (name, columns, extraConfig) => {
9767
9726
 
9768
9727
  // ../../node_modules/drizzle-orm/sqlite-core/indexes.js
9769
9728
  class IndexBuilderOn {
9770
- constructor(name, unique2) {
9729
+ constructor(name, unique) {
9771
9730
  this.name = name;
9772
- this.unique = unique2;
9731
+ this.unique = unique;
9773
9732
  }
9774
9733
  static [entityKind] = "SQLiteIndexBuilderOn";
9775
9734
  on(...columns) {
@@ -9780,11 +9739,11 @@ class IndexBuilderOn {
9780
9739
  class IndexBuilder {
9781
9740
  static [entityKind] = "SQLiteIndexBuilder";
9782
9741
  config;
9783
- constructor(name, columns, unique2) {
9742
+ constructor(name, columns, unique) {
9784
9743
  this.config = {
9785
9744
  name,
9786
9745
  columns,
9787
- unique: unique2,
9746
+ unique,
9788
9747
  where: undefined
9789
9748
  };
9790
9749
  }
@@ -9843,21 +9802,6 @@ class PrimaryKey {
9843
9802
  }
9844
9803
  }
9845
9804
 
9846
- // ../../node_modules/drizzle-orm/relations.js
9847
- class Relations {
9848
- constructor(table, config) {
9849
- this.table = table;
9850
- this.config = config;
9851
- }
9852
- static [entityKind] = "Relations";
9853
- }
9854
- function relations(table, relations2) {
9855
- return new Relations(table, (helpers) => Object.fromEntries(Object.entries(relations2(helpers)).map(([key, value]) => [
9856
- key,
9857
- value.withFieldName(key)
9858
- ])));
9859
- }
9860
-
9861
9805
  // ../../node_modules/@f0rbit/corpus/dist/observations/schema.js
9862
9806
  var corpus_observations = sqliteTable("corpus_observations", {
9863
9807
  id: text("id").primaryKey(),
@@ -9916,275 +9860,6 @@ var corpus_snapshots = sqliteTable("corpus_snapshots", {
9916
9860
  hash_idx: index("idx_content_hash").on(table.store_id, table.content_hash),
9917
9861
  data_key_idx: index("idx_data_key").on(table.data_key)
9918
9862
  }));
9919
- // ../api/dist/chunk-FOO5XXY5.js
9920
- var timestamps = () => ({
9921
- created_at: text("created_at").notNull().default(sql`(CURRENT_TIMESTAMP)`),
9922
- updated_at: text("updated_at").notNull().default(sql`(CURRENT_TIMESTAMP)`)
9923
- });
9924
- var deleted = () => ({
9925
- deleted: int("deleted", { mode: "boolean" }).notNull().default(false)
9926
- });
9927
- var owner_id = () => ({
9928
- owner_id: text("owner_id").notNull().references(() => user.id)
9929
- });
9930
- var id = (prefix) => ({
9931
- id: text("id").primaryKey().$defaultFn(() => `${prefix}_${crypto.randomUUID()}`)
9932
- });
9933
- var entity = (prefix) => ({
9934
- ...id(prefix),
9935
- ...timestamps(),
9936
- ...deleted()
9937
- });
9938
- var owned_entity = (prefix) => ({
9939
- ...entity(prefix),
9940
- ...owner_id()
9941
- });
9942
- var user = sqliteTable("user", {
9943
- id: text("id").primaryKey().$defaultFn(() => `user_${crypto.randomUUID()}`),
9944
- github_id: integer("github_id"),
9945
- name: text("name"),
9946
- email: text("email").unique(),
9947
- email_verified: text("email_verified"),
9948
- image_url: text("image_url"),
9949
- task_view: text("task_view", { enum: ["list", "grid"] }).notNull().default("list")
9950
- });
9951
- var session = sqliteTable("session", {
9952
- id: text("id").notNull().primaryKey(),
9953
- userId: text("user_id").notNull().references(() => user.id),
9954
- expiresAt: integer("expires_at").notNull(),
9955
- access_token: text("access_token")
9956
- });
9957
- var api_keys = sqliteTable("api_keys", {
9958
- ...id("apikey"),
9959
- user_id: text("user_id").notNull().references(() => user.id),
9960
- key_hash: text("key_hash").notNull().unique(),
9961
- name: text("name"),
9962
- note: text("note"),
9963
- scope: text("scope", { enum: ["devpad", "blog", "media", "all"] }).notNull().default("all"),
9964
- enabled: integer("enabled", { mode: "boolean" }).notNull().default(true),
9965
- last_used_at: text("last_used_at"),
9966
- ...timestamps(),
9967
- deleted: integer("deleted", { mode: "boolean" }).notNull().default(false)
9968
- });
9969
- var project = sqliteTable("project", {
9970
- ...owned_entity("project"),
9971
- project_id: text("project_id").notNull(),
9972
- name: text("name").notNull(),
9973
- description: text("description"),
9974
- specification: text("specification"),
9975
- repo_url: text("repo_url"),
9976
- repo_id: integer("repo_id"),
9977
- icon_url: text("icon_url"),
9978
- status: text("status", { enum: ["DEVELOPMENT", "PAUSED", "RELEASED", "LIVE", "FINISHED", "ABANDONED", "STOPPED"] }).notNull().default("DEVELOPMENT"),
9979
- link_url: text("link_url"),
9980
- link_text: text("link_text"),
9981
- visibility: text("visibility", { enum: ["PUBLIC", "PRIVATE", "HIDDEN", "ARCHIVED", "DRAFT", "DELETED"] }).notNull().default("PRIVATE"),
9982
- current_version: text("current_version"),
9983
- scan_branch: text("scan_branch")
9984
- });
9985
- var ACTIONS = [
9986
- "CREATE_TASK",
9987
- "UPDATE_TASK",
9988
- "DELETE_TASK",
9989
- "CREATE_PROJECT",
9990
- "UPDATE_PROJECT",
9991
- "DELETE_PROJECT",
9992
- "CREATE_TAG",
9993
- "UPDATE_TAG",
9994
- "DELETE_TAG",
9995
- "CREATE_GOAL",
9996
- "UPDATE_GOAL",
9997
- "DELETE_GOAL",
9998
- "CREATE_MILESTONE",
9999
- "UPDATE_MILESTONE",
10000
- "DELETE_MILESTONE",
10001
- "CREATE_CHECKLIST",
10002
- "UPDATE_CHECKLIST",
10003
- "DELETE_CHECKLIST"
10004
- ];
10005
- var action = sqliteTable("action", {
10006
- ...owned_entity("action"),
10007
- type: text("type", { enum: ACTIONS }).notNull(),
10008
- description: text("description").notNull(),
10009
- data: text("data", { mode: "json" })
10010
- });
10011
- var tracker_result = sqliteTable("tracker_result", {
10012
- id: integer("id").primaryKey({ autoIncrement: true }),
10013
- project_id: text("project_id").notNull().references(() => project.id),
10014
- created_at: text("created_at").notNull().default(sql`(CURRENT_TIMESTAMP)`),
10015
- data: text("data", { mode: "json" }).notNull(),
10016
- accepted: integer("accepted", { mode: "boolean" }).notNull().default(false)
10017
- });
10018
- var todo_updates = sqliteTable("todo_updates", {
10019
- id: integer("id").primaryKey({ autoIncrement: true }),
10020
- project_id: text("project_id").notNull().references(() => project.id),
10021
- created_at: text("created_at").notNull().default(sql`(CURRENT_TIMESTAMP)`),
10022
- old_id: integer("old_id").references(() => tracker_result.id),
10023
- new_id: integer("new_id").notNull().references(() => tracker_result.id),
10024
- data: text("data", { mode: "json" }).notNull(),
10025
- status: text("status", { enum: ["PENDING", "ACCEPTED", "REJECTED", "IGNORED"] }).notNull().default("PENDING"),
10026
- branch: text("branch"),
10027
- commit_sha: text("commit_sha"),
10028
- commit_msg: text("commit_msg"),
10029
- commit_url: text("commit_url")
10030
- });
10031
- var update_tracker_relations = relations(todo_updates, ({ one }) => ({
10032
- old: one(tracker_result, { fields: [todo_updates.old_id], references: [tracker_result.id] }),
10033
- new: one(tracker_result, { fields: [todo_updates.new_id], references: [tracker_result.id] })
10034
- }));
10035
- var milestone = sqliteTable("milestone", {
10036
- ...entity("milestone"),
10037
- project_id: text("project_id").notNull().references(() => project.id),
10038
- name: text("name").notNull(),
10039
- description: text("description"),
10040
- target_time: text("target_time"),
10041
- target_version: text("target_version"),
10042
- finished_at: text("finished_at"),
10043
- after_id: text("after_id")
10044
- });
10045
- var goal = sqliteTable("goal", {
10046
- ...entity("goal"),
10047
- milestone_id: text("milestone_id").notNull().references(() => milestone.id),
10048
- name: text("name").notNull(),
10049
- description: text("description"),
10050
- target_time: text("target_time"),
10051
- finished_at: text("finished_at")
10052
- });
10053
- var task = sqliteTable("task", {
10054
- ...owned_entity("task"),
10055
- title: text("title").notNull(),
10056
- progress: text("progress", { enum: ["UNSTARTED", "IN_PROGRESS", "COMPLETED"] }).notNull().default("UNSTARTED"),
10057
- visibility: text("visibility", { enum: ["PUBLIC", "PRIVATE", "HIDDEN", "ARCHIVED", "DRAFT", "DELETED"] }).notNull().default("PRIVATE"),
10058
- goal_id: text("goal_id").references(() => goal.id),
10059
- project_id: text("project_id").references(() => project.id),
10060
- description: text("description"),
10061
- start_time: text("start_time"),
10062
- end_time: text("end_time"),
10063
- summary: text("summary"),
10064
- codebase_task_id: text("codebase_task_id").references(() => codebase_tasks.id),
10065
- priority: text("priority", { enum: ["LOW", "MEDIUM", "HIGH"] }).notNull().default("LOW")
10066
- });
10067
- var checklist = sqliteTable("checklist", {
10068
- ...entity("checklist"),
10069
- task_id: text("task_id").notNull().references(() => task.id),
10070
- name: text("name").notNull()
10071
- });
10072
- var checklist_item = sqliteTable("checklist_item", {
10073
- ...entity("checklist-item"),
10074
- checklist_id: text("checklist_id").notNull().references(() => checklist.id),
10075
- parent_id: text("parent_id"),
10076
- name: text("name").notNull(),
10077
- checked: int("checked", { mode: "boolean" }).notNull().default(false)
10078
- });
10079
- var codebase_tasks = sqliteTable("codebase_tasks", {
10080
- ...entity("codebase-task"),
10081
- branch: text("branch"),
10082
- commit_sha: text("commit_sha"),
10083
- commit_msg: text("commit_msg"),
10084
- commit_url: text("commit_url"),
10085
- type: text("type"),
10086
- text: text("text"),
10087
- file: text("file"),
10088
- line: integer("line"),
10089
- context: text("context", { mode: "json" }),
10090
- recent_scan_id: integer("recent_scan_id").references(() => tracker_result.id)
10091
- });
10092
- var tag = sqliteTable("tag", {
10093
- ...owned_entity("tag"),
10094
- title: text("title").notNull(),
10095
- color: text("color"),
10096
- render: int("render", { mode: "boolean" }).notNull().default(true)
10097
- }, (table) => ({
10098
- tag_unique: unique("tag_unique").on(table.owner_id, table.title)
10099
- }));
10100
- var task_tag = sqliteTable("task_tag", {
10101
- task_id: text("task_id").notNull().references(() => task.id),
10102
- tag_id: text("tag_id").notNull().references(() => tag.id),
10103
- ...timestamps()
10104
- }, (table) => ({
10105
- task_tag_unique: primaryKey({ columns: [table.task_id, table.tag_id] })
10106
- }));
10107
- var commit_detail = sqliteTable("commit_detail", {
10108
- sha: text("sha").primaryKey(),
10109
- message: text("message").notNull(),
10110
- url: text("url").notNull(),
10111
- avatar_url: text("avatar_url"),
10112
- author_user: text("author_user").notNull(),
10113
- author_name: text("author_name"),
10114
- author_email: text("author_email").notNull(),
10115
- date: text("date").notNull()
10116
- });
10117
- var tag_config = sqliteTable("tag_config", {
10118
- ...id("tag_config"),
10119
- project_id: text("project_id").notNull().references(() => project.id),
10120
- tag_id: text("tag_id").notNull().references(() => tag.id),
10121
- match: text("match").notNull(),
10122
- ...timestamps()
10123
- });
10124
- var ignore_path = sqliteTable("ignore_path", {
10125
- ...id("ignore_path"),
10126
- project_id: text("project_id").notNull().references(() => project.id),
10127
- path: text("path").notNull(),
10128
- ...timestamps()
10129
- });
10130
- var user_relations = relations(user, ({ many }) => ({
10131
- sessions: many(session),
10132
- api_keys: many(api_keys),
10133
- actions: many(action),
10134
- tasks: many(task),
10135
- tags: many(tag)
10136
- }));
10137
- var session_relations = relations(session, ({ one }) => ({
10138
- user: one(user, { fields: [session.userId], references: [user.id] })
10139
- }));
10140
- var api_keys_relations = relations(api_keys, ({ one }) => ({
10141
- owner: one(user, { fields: [api_keys.user_id], references: [user.id] })
10142
- }));
10143
- var project_relations = relations(project, ({ one, many }) => ({
10144
- owner: one(user, { fields: [project.owner_id], references: [user.id] }),
10145
- tracker_results: many(tracker_result),
10146
- milestones: many(milestone),
10147
- todo_updates: many(todo_updates)
10148
- }));
10149
- var action_relations = relations(action, ({ one }) => ({
10150
- owner: one(user, { fields: [action.owner_id], references: [user.id] })
10151
- }));
10152
- var tracker_result_relations = relations(tracker_result, ({ one }) => ({
10153
- project: one(project, { fields: [tracker_result.project_id], references: [project.id] })
10154
- }));
10155
- var todoUpdatesRelations = relations(todo_updates, ({ one }) => ({
10156
- project: one(project, { fields: [todo_updates.project_id], references: [project.id] }),
10157
- oldTrackerResult: one(tracker_result, { fields: [todo_updates.old_id], references: [tracker_result.id] }),
10158
- newTrackerResult: one(tracker_result, { fields: [todo_updates.new_id], references: [tracker_result.id] })
10159
- }));
10160
- var milestone_relations = relations(milestone, ({ one, many }) => ({
10161
- project: one(project, { fields: [milestone.project_id], references: [project.id] }),
10162
- goals: many(goal)
10163
- }));
10164
- var goal_relations = relations(goal, ({ one }) => ({
10165
- milestone: one(milestone, { fields: [goal.milestone_id], references: [milestone.id] })
10166
- }));
10167
- var task_relations = relations(task, ({ one, many }) => ({
10168
- owner: one(user, { fields: [task.owner_id], references: [user.id] }),
10169
- goal: one(goal, { fields: [task.goal_id], references: [goal.id] }),
10170
- codebase_task: one(codebase_tasks, { fields: [task.codebase_task_id], references: [codebase_tasks.id] }),
10171
- checklists: many(checklist)
10172
- }));
10173
- var checklist_relations = relations(checklist, ({ one, many }) => ({
10174
- task: one(task, { fields: [checklist.task_id], references: [task.id] }),
10175
- items: many(checklist_item)
10176
- }));
10177
- var checklist_item_relations = relations(checklist_item, ({ one }) => ({
10178
- checklist: one(checklist, { fields: [checklist_item.checklist_id], references: [checklist.id] })
10179
- }));
10180
- var tag_relations = relations(tag, ({ one }) => ({
10181
- owner: one(user, { fields: [tag.owner_id], references: [user.id] })
10182
- }));
10183
- var task_tag_relations = relations(task_tag, ({ one }) => ({
10184
- task: one(task, { fields: [task_tag.task_id], references: [task.id] }),
10185
- tag: one(tag, { fields: [task_tag.tag_id], references: [tag.id] })
10186
- }));
10187
-
10188
9863
  // ../api/dist/index.js
10189
9864
  var ApiError = class _ApiError extends Error {
10190
9865
  constructor(message, options = {}) {
@@ -10445,7 +10120,9 @@ var ApiClient2 = class {
10445
10120
  session: () => wrap(() => this.clients.auth_root.get("/auth/session")),
10446
10121
  keys: {
10447
10122
  list: () => wrap(() => this.clients.auth.get("/keys")),
10448
- create: (name) => wrap(() => this.clients.auth.post("/keys", { body: name ? { name } : {} })),
10123
+ create: (name) => wrap(() => this.clients.auth.post("/keys", {
10124
+ body: name ? { name } : {}
10125
+ })),
10449
10126
  revoke: (key_id) => wrap(() => this.clients.auth.delete(`/keys/${key_id}`)),
10450
10127
  remove: (key_id) => wrap(() => this.clients.auth.delete(`/keys/${key_id}`))
10451
10128
  }
@@ -10456,52 +10133,60 @@ var ApiClient2 = class {
10456
10133
  const result = await this.projects.list(filters);
10457
10134
  if (!result.ok)
10458
10135
  throw new Error(result.error.message);
10459
- return result.value.reduce((acc, project2) => {
10460
- acc[project2.id] = project2;
10136
+ return result.value.reduce((acc, project) => {
10137
+ acc[project.id] = project;
10461
10138
  return acc;
10462
10139
  }, {});
10463
10140
  }),
10464
- find: (id2) => wrap(() => this.clients.projects.get("/projects", { query: { id: id2 } })),
10141
+ find: (id) => wrap(() => this.clients.projects.get("/projects", { query: { id } })),
10465
10142
  getByName: (name) => wrap(() => this.clients.projects.get("/projects", { query: { name } })),
10466
- getById: (id2) => wrap(() => this.clients.projects.get("/projects", { query: { id: id2 } })),
10143
+ getById: (id) => wrap(() => this.clients.projects.get("/projects", { query: { id } })),
10467
10144
  create: (data) => wrap(() => this.clients.projects.patch("/projects", { body: data })),
10468
10145
  update: async (idOrData, changes) => wrap(async () => {
10469
10146
  if (typeof idOrData === "object" && idOrData.id) {
10470
- return this.clients.projects.patch("/projects", { body: idOrData });
10147
+ return this.clients.projects.patch("/projects", {
10148
+ body: idOrData
10149
+ });
10471
10150
  }
10472
- const id2 = idOrData;
10151
+ const id = idOrData;
10473
10152
  if (!changes) {
10474
10153
  throw new Error("Changes parameter required for update");
10475
10154
  }
10476
- const result = await this.projects.find(id2);
10155
+ const result = await this.projects.find(id);
10477
10156
  if (!result.ok)
10478
10157
  throw new Error(result.error.message);
10479
10158
  if (!result.value)
10480
- throw new Error(`Project with id ${id2} not found`);
10481
- const project2 = result.value;
10159
+ throw new Error(`Project with id ${id} not found`);
10160
+ const project = result.value;
10482
10161
  const updateData = {
10483
- id: project2.id,
10484
- project_id: project2.project_id,
10485
- owner_id: project2.owner_id,
10486
- name: project2.name,
10487
- description: project2.description,
10488
- specification: project2.specification,
10489
- repo_url: project2.repo_url,
10490
- repo_id: project2.repo_id,
10491
- icon_url: project2.icon_url,
10492
- status: project2.status,
10493
- deleted: project2.deleted,
10494
- link_url: project2.link_url,
10495
- link_text: project2.link_text,
10496
- visibility: project2.visibility,
10497
- current_version: project2.current_version,
10162
+ id: project.id,
10163
+ project_id: project.project_id,
10164
+ owner_id: project.owner_id,
10165
+ name: project.name,
10166
+ description: project.description,
10167
+ specification: project.specification,
10168
+ repo_url: project.repo_url,
10169
+ repo_id: project.repo_id,
10170
+ icon_url: project.icon_url,
10171
+ status: project.status,
10172
+ deleted: project.deleted,
10173
+ link_url: project.link_url,
10174
+ link_text: project.link_text,
10175
+ visibility: project.visibility,
10176
+ current_version: project.current_version,
10498
10177
  ...changes
10499
10178
  };
10500
- return this.clients.projects.patch("/projects", { body: updateData });
10179
+ return this.clients.projects.patch("/projects", {
10180
+ body: updateData
10181
+ });
10501
10182
  }),
10502
10183
  config: {
10503
- load: (project_id) => wrap(() => this.clients.projects.get("/projects/config", { query: { project_id } })),
10504
- save: (request) => wrap(() => this.clients.projects.patch("/projects/save_config", { body: request }))
10184
+ load: (project_id) => wrap(() => this.clients.projects.get("/projects/config", {
10185
+ query: { project_id }
10186
+ })),
10187
+ save: (request) => wrap(() => this.clients.projects.patch("/projects/save_config", {
10188
+ body: request
10189
+ }))
10505
10190
  },
10506
10191
  scan: {
10507
10192
  initiate: async (project_id) => {
@@ -10516,65 +10201,76 @@ var ApiClient2 = class {
10516
10201
  return stream;
10517
10202
  },
10518
10203
  updates: (project_id) => wrap(() => this.clients.projects.get("/projects/updates", { query: { project_id } }).then((response) => response.updates)),
10519
- update: (project_id, data) => wrap(() => this.clients.projects.post("/projects/scan_status", { query: { project_id }, body: data }))
10204
+ update: (project_id, data) => wrap(() => this.clients.projects.post("/projects/scan_status", {
10205
+ query: { project_id },
10206
+ body: data
10207
+ }))
10520
10208
  },
10521
10209
  history: (project_id) => wrap(() => this.clients.projects.get(`/projects/${project_id}/history`)),
10522
10210
  upsert: (data) => wrap(() => this.clients.projects.patch("/projects", { body: data })),
10523
- specification: (project_id) => wrap(() => this.clients.projects.get("/projects/fetch_spec", { query: { project_id } })),
10524
- deleteProject: (project2) => wrap(() => this.clients.projects.patch("/projects", { body: { ...project2, deleted: true } }))
10211
+ specification: (project_id) => wrap(() => this.clients.projects.get("/projects/fetch_spec", {
10212
+ query: { project_id }
10213
+ })),
10214
+ deleteProject: (project) => wrap(() => this.clients.projects.patch("/projects", {
10215
+ body: { ...project, deleted: true }
10216
+ }))
10525
10217
  };
10526
10218
  this.milestones = {
10527
10219
  list: () => wrap(() => this.clients.milestones.get("/milestones")),
10528
10220
  getByProject: (project_id) => wrap(() => this.clients.milestones.get(`/projects/${project_id}/milestones`)),
10529
- find: (id2) => wrap(async () => {
10221
+ find: (id) => wrap(async () => {
10530
10222
  try {
10531
- return await this.clients.milestones.get(`/milestones/${id2}`);
10223
+ return await this.clients.milestones.get(`/milestones/${id}`);
10532
10224
  } catch (error) {
10533
10225
  return null;
10534
10226
  }
10535
10227
  }),
10536
10228
  create: (data) => wrap(() => this.clients.milestones.post("/milestones", { body: data })),
10537
- update: async (id2, data) => wrap(async () => {
10538
- const result = await this.milestones.find(id2);
10229
+ update: async (id, data) => wrap(async () => {
10230
+ const result = await this.milestones.find(id);
10539
10231
  if (!result.ok)
10540
10232
  throw new Error(result.error.message);
10541
10233
  if (!result.value)
10542
- throw new Error(`Milestone with id ${id2} not found`);
10543
- const milestone2 = result.value;
10234
+ throw new Error(`Milestone with id ${id} not found`);
10235
+ const milestone = result.value;
10544
10236
  const updateData = {
10545
- id: milestone2.id,
10546
- project_id: milestone2.project_id,
10547
- name: data.name ?? milestone2.name,
10548
- description: data.description ?? milestone2.description,
10549
- target_time: data.target_time ?? milestone2.target_time,
10550
- target_version: data.target_version ?? milestone2.target_version
10237
+ id: milestone.id,
10238
+ project_id: milestone.project_id,
10239
+ name: data.name ?? milestone.name,
10240
+ description: data.description ?? milestone.description,
10241
+ target_time: data.target_time ?? milestone.target_time,
10242
+ target_version: data.target_version ?? milestone.target_version
10551
10243
  };
10552
- return this.clients.milestones.patch(`/milestones/${id2}`, { body: updateData });
10244
+ return this.clients.milestones.patch(`/milestones/${id}`, {
10245
+ body: updateData
10246
+ });
10553
10247
  }),
10554
- delete: (id2) => wrap(() => this.clients.milestones.delete(`/milestones/${id2}`)),
10555
- goals: (id2) => wrap(() => this.clients.milestones.get(`/milestones/${id2}/goals`))
10248
+ delete: (id) => wrap(() => this.clients.milestones.delete(`/milestones/${id}`)),
10249
+ goals: (id) => wrap(() => this.clients.milestones.get(`/milestones/${id}/goals`))
10556
10250
  };
10557
10251
  this.goals = {
10558
10252
  list: () => wrap(() => this.clients.goals.get("/goals")),
10559
- find: (id2) => wrap(() => this.clients.goals.get(`/goals/${id2}`)),
10253
+ find: (id) => wrap(() => this.clients.goals.get(`/goals/${id}`)),
10560
10254
  create: (data) => wrap(() => this.clients.goals.post("/goals", { body: data })),
10561
- update: async (id2, data) => wrap(async () => {
10562
- const result = await this.goals.find(id2);
10255
+ update: async (id, data) => wrap(async () => {
10256
+ const result = await this.goals.find(id);
10563
10257
  if (!result.ok)
10564
10258
  throw new Error(result.error.message);
10565
10259
  if (!result.value)
10566
- throw new Error(`Goal with id ${id2} not found`);
10567
- const goal2 = result.value;
10260
+ throw new Error(`Goal with id ${id} not found`);
10261
+ const goal = result.value;
10568
10262
  const updateData = {
10569
- id: goal2.id,
10570
- milestone_id: goal2.milestone_id,
10571
- name: data.name ?? goal2.name,
10572
- description: data.description ?? goal2.description,
10573
- target_time: data.target_time ?? goal2.target_time
10263
+ id: goal.id,
10264
+ milestone_id: goal.milestone_id,
10265
+ name: data.name ?? goal.name,
10266
+ description: data.description ?? goal.description,
10267
+ target_time: data.target_time ?? goal.target_time
10574
10268
  };
10575
- return this.clients.goals.patch(`/goals/${id2}`, { body: updateData });
10269
+ return this.clients.goals.patch(`/goals/${id}`, {
10270
+ body: updateData
10271
+ });
10576
10272
  }),
10577
- delete: (id2) => wrap(() => this.clients.goals.delete(`/goals/${id2}`))
10273
+ delete: (id) => wrap(() => this.clients.goals.delete(`/goals/${id}`))
10578
10274
  };
10579
10275
  this.tasks = {
10580
10276
  list: (filters) => wrap(() => {
@@ -10585,35 +10281,41 @@ var ApiClient2 = class {
10585
10281
  query.tag = filters.tag_id;
10586
10282
  return this.clients.tasks.get("/tasks", Object.keys(query).length > 0 ? { query } : {});
10587
10283
  }),
10588
- find: (id2) => wrap(() => this.clients.tasks.get("/tasks", { query: { id: id2 } })),
10589
- getByProject: (project_id) => wrap(() => this.clients.tasks.get(`/tasks`, { query: { project: project_id } })),
10284
+ find: (id) => wrap(() => this.clients.tasks.get("/tasks", { query: { id } })),
10285
+ getByProject: (project_id) => wrap(() => this.clients.tasks.get(`/tasks`, {
10286
+ query: { project: project_id }
10287
+ })),
10590
10288
  create: (data) => wrap(() => this.clients.tasks.patch("/tasks", { body: data })),
10591
- update: async (id2, changes) => wrap(async () => {
10592
- const result = await this.tasks.find(id2);
10289
+ update: async (id, changes) => wrap(async () => {
10290
+ const result = await this.tasks.find(id);
10593
10291
  if (!result.ok)
10594
10292
  throw new Error(result.error.message);
10595
10293
  if (!result.value)
10596
- throw new Error(`Task with id ${id2} not found`);
10597
- const task2 = result.value;
10294
+ throw new Error(`Task with id ${id} not found`);
10295
+ const task = result.value;
10598
10296
  const updateData = {
10599
- id: id2,
10600
- title: task2.task.title,
10601
- summary: task2.task.summary,
10602
- description: task2.task.description,
10603
- progress: task2.task.progress,
10604
- visibility: task2.task.visibility,
10605
- start_time: task2.task.start_time,
10606
- end_time: task2.task.end_time,
10607
- priority: task2.task.priority,
10608
- owner_id: task2.task.owner_id,
10609
- project_id: task2.task.project_id,
10297
+ id,
10298
+ title: task.task.title,
10299
+ summary: task.task.summary,
10300
+ description: task.task.description,
10301
+ progress: task.task.progress,
10302
+ visibility: task.task.visibility,
10303
+ start_time: task.task.start_time,
10304
+ end_time: task.task.end_time,
10305
+ priority: task.task.priority,
10306
+ owner_id: task.task.owner_id,
10307
+ project_id: task.task.project_id,
10610
10308
  ...changes
10611
10309
  };
10612
- return this.clients.tasks.patch("/tasks", { body: updateData });
10310
+ return this.clients.tasks.patch("/tasks", {
10311
+ body: updateData
10312
+ });
10613
10313
  }),
10614
10314
  upsert: (data) => wrap(() => this.clients.tasks.patch("/tasks", { body: data })),
10615
10315
  saveTags: (data) => wrap(() => this.clients.tasks.patch("/tasks/save_tags", { body: data })),
10616
- deleteTask: (task2) => wrap(() => this.clients.tasks.patch("/tasks", { body: { ...task2.task, deleted: true } })),
10316
+ deleteTask: (task) => wrap(() => this.clients.tasks.patch("/tasks", {
10317
+ body: { ...task.task, deleted: true }
10318
+ })),
10617
10319
  history: {
10618
10320
  get: (task_id) => wrap(() => this.clients.tasks.get(`/tasks/history/${task_id}`))
10619
10321
  }
@@ -10660,19 +10362,23 @@ var ApiClient2 = class {
10660
10362
  getForPost: (uuid) => wrap(() => this.clients.blog.get(`/blog/tags/posts/${uuid}/tags`)),
10661
10363
  setForPost: (uuid, tags) => wrap(() => this.clients.blog.put(`/blog/tags/posts/${uuid}/tags`, { body: { tags } })),
10662
10364
  addToPost: (uuid, tags) => wrap(() => this.clients.blog.post(`/blog/tags/posts/${uuid}/tags`, { body: { tags } })),
10663
- removeFromPost: (uuid, tag2) => wrap(() => this.clients.blog.delete(`/blog/tags/posts/${uuid}/tags/${tag2}`))
10365
+ removeFromPost: (uuid, tag) => wrap(() => this.clients.blog.delete(`/blog/tags/posts/${uuid}/tags/${tag}`))
10664
10366
  },
10665
10367
  categories: {
10666
10368
  tree: () => wrap(() => this.clients.blog.get("/blog/categories")),
10667
10369
  create: (data) => wrap(() => this.clients.blog.post("/blog/categories", { body: data })),
10668
- update: (name, data) => wrap(() => this.clients.blog.put(`/blog/categories/${name}`, { body: data })),
10370
+ update: (name, data) => wrap(() => this.clients.blog.put(`/blog/categories/${name}`, {
10371
+ body: data
10372
+ })),
10669
10373
  delete: (name) => wrap(() => this.clients.blog.delete(`/blog/categories/${name}`))
10670
10374
  },
10671
10375
  tokens: {
10672
10376
  list: () => wrap(() => this.clients.blog.get("/blog/tokens")),
10673
10377
  create: (data) => wrap(() => this.clients.blog.post("/blog/tokens", { body: data })),
10674
- update: (id2, data) => wrap(() => this.clients.blog.put(`/blog/tokens/${id2}`, { body: data })),
10675
- delete: (id2) => wrap(() => this.clients.blog.delete(`/blog/tokens/${id2}`))
10378
+ update: (id, data) => wrap(() => this.clients.blog.put(`/blog/tokens/${id}`, {
10379
+ body: data
10380
+ })),
10381
+ delete: (id) => wrap(() => this.clients.blog.delete(`/blog/tokens/${id}`))
10676
10382
  }
10677
10383
  };
10678
10384
  this.media = {
@@ -10682,9 +10388,9 @@ var ApiClient2 = class {
10682
10388
  return res.profiles;
10683
10389
  }),
10684
10390
  create: (data) => wrap(() => this.clients.media.post("/profiles", { body: data })),
10685
- get: (id2) => wrap(() => this.clients.media.get(`/profiles/${id2}`)),
10686
- update: (id2, data) => wrap(() => this.clients.media.patch(`/profiles/${id2}`, { body: data })),
10687
- delete: (id2) => wrap(() => this.clients.media.delete(`/profiles/${id2}`)),
10391
+ get: (id) => wrap(() => this.clients.media.get(`/profiles/${id}`)),
10392
+ update: (id, data) => wrap(() => this.clients.media.patch(`/profiles/${id}`, { body: data })),
10393
+ delete: (id) => wrap(() => this.clients.media.delete(`/profiles/${id}`)),
10688
10394
  filters: {
10689
10395
  list: (profile_id) => wrap(async () => {
10690
10396
  const res = await this.clients.media.get(`/profiles/${profile_id}/filters`);
@@ -10714,10 +10420,14 @@ var ApiClient2 = class {
10714
10420
  delete: (account_id) => wrap(() => this.clients.media.delete(`/connections/${account_id}`)),
10715
10421
  refresh: (account_id) => wrap(() => this.clients.media.post(`/connections/${account_id}/refresh`)),
10716
10422
  refreshAll: () => wrap(() => this.clients.media.post("/connections/refresh-all")),
10717
- updateStatus: (account_id, is_active) => wrap(() => this.clients.media.patch(`/connections/${account_id}`, { body: { is_active } })),
10423
+ updateStatus: (account_id, is_active) => wrap(() => this.clients.media.patch(`/connections/${account_id}`, {
10424
+ body: { is_active }
10425
+ })),
10718
10426
  settings: {
10719
10427
  get: (account_id) => wrap(() => this.clients.media.get(`/connections/${account_id}/settings`)),
10720
- update: (account_id, settings) => wrap(() => this.clients.media.put(`/connections/${account_id}/settings`, { body: { settings } }))
10428
+ update: (account_id, settings) => wrap(() => this.clients.media.put(`/connections/${account_id}/settings`, {
10429
+ body: { settings }
10430
+ }))
10721
10431
  },
10722
10432
  repos: (account_id) => wrap(async () => {
10723
10433
  const res = await this.clients.media.get(`/connections/${account_id}/repos`);
@@ -10742,7 +10452,9 @@ var ApiClient2 = class {
10742
10452
  query.to = params.to;
10743
10453
  return this.clients.media.get(`/timeline/${user_id}`, Object.keys(query).length ? { query } : {});
10744
10454
  }),
10745
- getRaw: (user_id, platform, account_id) => wrap(() => this.clients.media.get(`/timeline/${user_id}/raw/${platform}`, { query: { account_id } }))
10455
+ getRaw: (user_id, platform, account_id) => wrap(() => this.clients.media.get(`/timeline/${user_id}/raw/${platform}`, {
10456
+ query: { account_id }
10457
+ }))
10746
10458
  }
10747
10459
  };
10748
10460
  this.user = {
@@ -10764,7 +10476,11 @@ var ApiClient2 = class {
10764
10476
  const auth_base_url = base_url.replace(/\/v1\/?$/, "");
10765
10477
  this.clients = {
10766
10478
  auth: new ApiClient({ ...clientOptions, category: "auth" }),
10767
- auth_root: new ApiClient({ ...clientOptions, base_url: auth_base_url, category: "auth" }),
10479
+ auth_root: new ApiClient({
10480
+ ...clientOptions,
10481
+ base_url: auth_base_url,
10482
+ category: "auth"
10483
+ }),
10768
10484
  projects: new ApiClient({ ...clientOptions, category: "projects" }),
10769
10485
  tasks: new ApiClient({ ...clientOptions, category: "tasks" }),
10770
10486
  milestones: new ApiClient({ ...clientOptions, category: "milestones" }),
@@ -10955,10 +10671,10 @@ var tools = {
10955
10671
  id: exports_external.string().describe("Project ID")
10956
10672
  }),
10957
10673
  execute: async (client, input) => {
10958
- const project2 = unwrap2(await client.projects.find(input.id));
10959
- if (!project2)
10674
+ const project = unwrap2(await client.projects.find(input.id));
10675
+ if (!project)
10960
10676
  throw new Error(`Project ${input.id} not found`);
10961
- unwrap2(await client.projects.deleteProject(project2));
10677
+ unwrap2(await client.projects.deleteProject(project));
10962
10678
  return { success: true };
10963
10679
  }
10964
10680
  },
@@ -11017,10 +10733,10 @@ var tools = {
11017
10733
  id: exports_external.string().describe("Task ID")
11018
10734
  }),
11019
10735
  execute: async (client, input) => {
11020
- const task2 = unwrap2(await client.tasks.find(input.id));
11021
- if (!task2)
10736
+ const task = unwrap2(await client.tasks.find(input.id));
10737
+ if (!task)
11022
10738
  throw new Error(`Task ${input.id} not found`);
11023
- unwrap2(await client.tasks.deleteTask(task2));
10739
+ unwrap2(await client.tasks.deleteTask(task));
11024
10740
  return { success: true };
11025
10741
  }
11026
10742
  },
@@ -11184,8 +10900,8 @@ var tools = {
11184
10900
  slug: exports_external.string().optional().describe("Profile slug")
11185
10901
  }),
11186
10902
  execute: async (client, input) => {
11187
- const { id: id2, ...data } = input;
11188
- return unwrap2(await client.media.profiles.update(id2, data));
10903
+ const { id, ...data } = input;
10904
+ return unwrap2(await client.media.profiles.update(id, data));
11189
10905
  }
11190
10906
  },
11191
10907
  devpad_media_profiles_delete: {
@@ -12811,7 +12527,7 @@ projects.command("create").description("Create a new project").requiredOption("-
12811
12527
  handleError(error);
12812
12528
  }
12813
12529
  });
12814
- projects.command("delete <id>").description("Delete a project").option("-y, --yes", "Skip confirmation", false).action(async (id2, options) => {
12530
+ projects.command("delete <id>").description("Delete a project").option("-y, --yes", "Skip confirmation", false).action(async (id, options) => {
12815
12531
  if (!options.yes) {
12816
12532
  console.log(source_default.yellow("Are you sure you want to delete this project? Use --yes to confirm"));
12817
12533
  return;
@@ -12822,21 +12538,21 @@ projects.command("delete <id>").description("Delete a project").option("-y, --ye
12822
12538
  if (!tool)
12823
12539
  throw new Error("Tool not found");
12824
12540
  const client = getApiClient();
12825
- await tool.execute(client, { id: id2 });
12541
+ await tool.execute(client, { id });
12826
12542
  spinner.succeed("Project deleted");
12827
12543
  } catch (error) {
12828
12544
  spinner.fail("Failed to delete project");
12829
12545
  handleError(error);
12830
12546
  }
12831
12547
  });
12832
- projects.command("history <id>").description("Get project history").option("-f, --format <format>", "Output format (json|table)", "json").action(async (id2, options) => {
12548
+ projects.command("history <id>").description("Get project history").option("-f, --format <format>", "Output format (json|table)", "json").action(async (id, options) => {
12833
12549
  const spinner = createSpinner("Fetching project history...").start();
12834
12550
  try {
12835
12551
  const tool = getTool("devpad_projects_history");
12836
12552
  if (!tool)
12837
12553
  throw new Error("Tool not found");
12838
12554
  const client = getApiClient();
12839
- const result = await tool.execute(client, { project_id: id2 });
12555
+ const result = await tool.execute(client, { project_id: id });
12840
12556
  spinner.succeed("Project history fetched");
12841
12557
  await formatOutput(result, options.format);
12842
12558
  } catch (error) {
@@ -12863,14 +12579,14 @@ tasks.command("list").description("List tasks").option("-p, --project <id>", "Fi
12863
12579
  handleError(error);
12864
12580
  }
12865
12581
  });
12866
- tasks.command("get <id>").description("Get a task by ID").option("-f, --format <format>", "Output format (json|table)", "json").action(async (id2, options) => {
12582
+ tasks.command("get <id>").description("Get a task by ID").option("-f, --format <format>", "Output format (json|table)", "json").action(async (id, options) => {
12867
12583
  const spinner = createSpinner("Fetching task...").start();
12868
12584
  try {
12869
12585
  const tool = getTool("devpad_tasks_get");
12870
12586
  if (!tool)
12871
12587
  throw new Error("Tool not found");
12872
12588
  const client = getApiClient();
12873
- const result = await tool.execute(client, { id: id2 });
12589
+ const result = await tool.execute(client, { id });
12874
12590
  spinner.succeed("Task fetched");
12875
12591
  await formatOutput(result, options.format);
12876
12592
  } catch (error) {
@@ -12899,7 +12615,7 @@ tasks.command("create").description("Create a new task").requiredOption("-t, --t
12899
12615
  handleError(error);
12900
12616
  }
12901
12617
  });
12902
- tasks.command("done <id>").description("Mark a task as done").action(async (id2) => {
12618
+ tasks.command("done <id>").description("Mark a task as done").action(async (id) => {
12903
12619
  const spinner = createSpinner("Marking task as done...").start();
12904
12620
  try {
12905
12621
  const tool = getTool("devpad_tasks_upsert");
@@ -12907,7 +12623,7 @@ tasks.command("done <id>").description("Mark a task as done").action(async (id2)
12907
12623
  throw new Error("Tool not found");
12908
12624
  const client = getApiClient();
12909
12625
  const result = await tool.execute(client, {
12910
- id: id2,
12626
+ id,
12911
12627
  progress: "DONE"
12912
12628
  });
12913
12629
  spinner.succeed(`Task "${result.title}" marked as done`);
@@ -12916,7 +12632,7 @@ tasks.command("done <id>").description("Mark a task as done").action(async (id2)
12916
12632
  handleError(error);
12917
12633
  }
12918
12634
  });
12919
- tasks.command("todo <id>").description("Mark a task as todo").action(async (id2) => {
12635
+ tasks.command("todo <id>").description("Mark a task as todo").action(async (id) => {
12920
12636
  const spinner = createSpinner("Marking task as todo...").start();
12921
12637
  try {
12922
12638
  const tool = getTool("devpad_tasks_upsert");
@@ -12924,7 +12640,7 @@ tasks.command("todo <id>").description("Mark a task as todo").action(async (id2)
12924
12640
  throw new Error("Tool not found");
12925
12641
  const client = getApiClient();
12926
12642
  const result = await tool.execute(client, {
12927
- id: id2,
12643
+ id,
12928
12644
  progress: "TODO"
12929
12645
  });
12930
12646
  spinner.succeed(`Task "${result.title}" marked as todo`);
@@ -12933,7 +12649,7 @@ tasks.command("todo <id>").description("Mark a task as todo").action(async (id2)
12933
12649
  handleError(error);
12934
12650
  }
12935
12651
  });
12936
- tasks.command("delete <id>").description("Delete a task").option("-y, --yes", "Skip confirmation", false).action(async (id2, options) => {
12652
+ tasks.command("delete <id>").description("Delete a task").option("-y, --yes", "Skip confirmation", false).action(async (id, options) => {
12937
12653
  if (!options.yes) {
12938
12654
  console.log(source_default.yellow("Are you sure you want to delete this task? Use --yes to confirm"));
12939
12655
  return;
@@ -12944,21 +12660,21 @@ tasks.command("delete <id>").description("Delete a task").option("-y, --yes", "S
12944
12660
  if (!tool)
12945
12661
  throw new Error("Tool not found");
12946
12662
  const client = getApiClient();
12947
- await tool.execute(client, { id: id2 });
12663
+ await tool.execute(client, { id });
12948
12664
  spinner.succeed("Task deleted");
12949
12665
  } catch (error) {
12950
12666
  spinner.fail("Failed to delete task");
12951
12667
  handleError(error);
12952
12668
  }
12953
12669
  });
12954
- tasks.command("history <id>").description("Get task history").option("-f, --format <format>", "Output format (json|table)", "json").action(async (id2, options) => {
12670
+ tasks.command("history <id>").description("Get task history").option("-f, --format <format>", "Output format (json|table)", "json").action(async (id, options) => {
12955
12671
  const spinner = createSpinner("Fetching task history...").start();
12956
12672
  try {
12957
12673
  const tool = getTool("devpad_tasks_history");
12958
12674
  if (!tool)
12959
12675
  throw new Error("Tool not found");
12960
12676
  const client = getApiClient();
12961
- const result = await tool.execute(client, { task_id: id2 });
12677
+ const result = await tool.execute(client, { task_id: id });
12962
12678
  spinner.succeed("Task history fetched");
12963
12679
  await formatOutput(result, options.format);
12964
12680
  } catch (error) {
@@ -13088,8 +12804,8 @@ github.command("branches <owner> <repo>").description("List branches for a GitHu
13088
12804
  handleError(error);
13089
12805
  }
13090
12806
  });
13091
- var user2 = program2.command("user").description("User preferences and history");
13092
- user2.command("history").description("Get user activity history").option("-f, --format <format>", "Output format (json|table)", "json").action(async (options) => {
12807
+ var user = program2.command("user").description("User preferences and history");
12808
+ user.command("history").description("Get user activity history").option("-f, --format <format>", "Output format (json|table)", "json").action(async (options) => {
13093
12809
  const spinner = createSpinner("Fetching user history...").start();
13094
12810
  try {
13095
12811
  const tool = getTool("devpad_user_history");
@@ -13104,7 +12820,7 @@ user2.command("history").description("Get user activity history").option("-f, --
13104
12820
  handleError(error);
13105
12821
  }
13106
12822
  });
13107
- user2.command("preferences").description("Update user preferences").requiredOption("-u, --user-id <id>", "User ID").requiredOption("-v, --view <view>", "Task view preference (list|grid)").action(async (options) => {
12823
+ user.command("preferences").description("Update user preferences").requiredOption("-u, --user-id <id>", "User ID").requiredOption("-v, --view <view>", "Task view preference (list|grid)").action(async (options) => {
13108
12824
  const spinner = createSpinner("Updating preferences...").start();
13109
12825
  try {
13110
12826
  const tool = getTool("devpad_user_preferences");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/cli",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Command line interface for devpad project management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,19 +42,18 @@
42
42
  "access": "public",
43
43
  "registry": "https://registry.npmjs.org/"
44
44
  },
45
- "dependencies": {
46
- "@devpad/api": "^2.0.2",
47
- "@devpad/schema": "^2.0.2",
48
- "commander": "^12.0.0",
49
- "chalk": "^5.3.0",
50
- "ora": "^8.0.1",
51
- "console-table-printer": "^2.12.1",
52
- "zod": "^3.22.4"
53
- },
45
+ "dependencies": {},
54
46
  "devDependencies": {
47
+ "@devpad/api": "^2.0.3",
48
+ "@devpad/schema": "^2.0.3",
55
49
  "@types/node": "^20.11.24",
56
50
  "bun-types": "latest",
57
- "typescript": "^5.9.2"
51
+ "chalk": "^5.3.0",
52
+ "commander": "^12.0.0",
53
+ "console-table-printer": "^2.12.1",
54
+ "ora": "^8.0.1",
55
+ "typescript": "^5.9.2",
56
+ "zod": "^3.22.4"
58
57
  },
59
58
  "engines": {
60
59
  "node": ">=18.0.0"