@hurshb50/setup-ubuntu 1.5.3 → 2.0.1

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.
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: code-dependency-graph
3
+ description: Show lines in selected code that use dependencies.
4
+ ---
5
+
6
+ # Code Dependencies
7
+
8
+ For each direct dependency used by the selected code:
9
+
10
+ - Show the relevant selected-code line or short snippet.
11
+ - Name the dependency and briefly explain it for a beginner.
12
+ - Explain what role it plays in this code.
13
+
14
+ Use plain language. Assume the reader is unfamiliar with the terms.
15
+ Keep explanations brief and focused on the selected code.
16
+ Include file locations when available.
17
+ Do not show dependency definitions or trace callers.
18
+ Do not add diagrams or unrelated context.
19
+ Output only the dependency snippets and explanations.
@@ -1,10 +1,9 @@
1
1
  ---
2
- name: design
2
+ name: design-api
3
3
  description: Push an architecture forward. Interview me, fan out on widely varying designs, then build the API shape together.
4
- disable-model-invocation: true
5
4
  ---
6
5
 
7
- # Design
6
+ # Design API
8
7
 
9
8
  Turn a vague idea into one API shape.
10
9
 
@@ -0,0 +1,14 @@
1
+ ---
2
+ name: explain-code
3
+ description: Explain all implementation code in the selected scope to someone learning it.
4
+ ---
5
+
6
+ # Explain Code
7
+
8
+ Explain all implementation code in scope for a beginner.
9
+
10
+ - Cover every implementation part in scope; split large scopes into ordered chunks.
11
+ - Explain each chunk's code, purpose, behavior, and connections.
12
+ - Trace execution and data flow; verify context and define unfamiliar terms.
13
+ - In every chunk, include a concrete example tracing temporary values step by step.
14
+ - Exclude tests/configuration; output the complete explanation only.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: rephrase-last-message
3
+ description: Rephrase the last agent message without changing its meaning.
4
+ ---
5
+
6
+ # Rephrase Last Message
7
+
8
+ Rephrase the last agent message.
9
+
10
+ ## The rephrasing
11
+
12
+ - Assume no prior knowledge
13
+ - Define technical terms before using them
14
+ - Keep the original meaning and facts
15
+ - Keep necessary caveats and code references
16
+ - Add no new claims or suggestions
17
+ - Output only the rephrased message
@@ -1,10 +1,9 @@
1
1
  ---
2
- name: teach
2
+ name: teach-concept
3
3
  description: Teach me a concept from the ground up.
4
- disable-model-invocation: true
5
4
  ---
6
5
 
7
- # Teach
6
+ # Teach Concept
8
7
 
9
8
  Any concept, in one sitting, from the ground up.
10
9
 
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "enable_feedback": false,
11
11
  "notify_when_agent_waiting": "never",
12
- "sandbox_permissions": { "allow_all_hosts": true, "allow_fs_write_all": true },
12
+ "sandbox_permissions": { "allow_unsandboxed": true, "allow_all_hosts": true, "allow_fs_write_all": true },
13
13
  "thinking_display": "always_collapsed",
14
14
  "tool_permissions": { "default": "allow" }
15
15
  },
@@ -11,7 +11,7 @@ import util from "util";
11
11
  import childProcess from "child_process";
12
12
  //#region package.json
13
13
  var name = "@hurshb50/setup-ubuntu";
14
- var version = "1.5.2";
14
+ var version = "2.0.0";
15
15
  //#endregion
16
16
  //#region source/modules/logger/logger.ts
17
17
  var Logger = class Logger {
@@ -314,7 +314,11 @@ var AgentSkills = class {
314
314
  task.start();
315
315
  const destinationDirectoryPath = path.join(context.directories.home, ".agents", "skills");
316
316
  const sourceDirectoryPath = path.join(context.directories.assets, "skills");
317
- task.continue("Create global skills directory");
317
+ task.continue("Clear global skills directory");
318
+ await fs.rm(destinationDirectoryPath, {
319
+ recursive: true,
320
+ force: true
321
+ });
318
322
  await fs.mkdir(destinationDirectoryPath, { recursive: true });
319
323
  task.continue("Copy agent skills");
320
324
  await fs.cp(sourceDirectoryPath, destinationDirectoryPath, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hurshb50/setup-ubuntu",
3
- "version": "1.5.3",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "distribution"