create-sessions-dir 0.3.0 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sessions-dir",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Scaffold a Sessions Directory for working with AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,17 +14,18 @@ Summarize:
14
14
 
15
15
  Then ask: "What do you want to work on this session?"
16
16
 
17
- If user provides a URL or issue ID:
18
- - **GitHub PR/Issue**: Use gh CLI to fetch details
19
- - For PR URLs or numbers, use: gh pr view [URL] --json title,body,state,labels
20
- - For issue URLs or numbers, use: gh issue view [URL] --json title,body,state,labels
21
- - **Linear Issue**: Use linearis CLI to fetch details (if available)
22
- - For Linear IDs (e.g., DEV-456, GTMENG-304), use: linearis issues read [ID]
23
- - Parse the JSON output and summarize: title, description, key points, acceptance criteria, labels/status
24
- - Create .sessions/prep/YYYY-MM-DD-topic.md with structured context
25
- - Update index.md with reference: "Working on: [Description] (see prep/YYYY-MM-DD-topic.md)"
26
-
27
- If user provides description or says "continue":
28
- - Proceed with that context
17
+ **Only fetch external context if user provides a new URL or issue ID:**
18
+
19
+ If user provides a GitHub/Linear URL or issue ID:
20
+ - **GitHub**: gh pr view [URL] --json title,body,state,labels
21
+ - **GitHub**: gh issue view [URL] --json title,body,state,labels
22
+ - **Linear**: linearis issues read [ID] (e.g., DEV-456, GTMENG-304)
23
+ - Summarize the fetched context
24
+ - Store in .sessions/prep/YYYY-MM-DD-topic.md
25
+ - Add reference to index.md
26
+
27
+ Otherwise (continuing work, ad-hoc task, etc.):
28
+ - Proceed with existing session context
29
+ - Session notes are the source of truth for ongoing work
29
30
 
30
31
  Confirm understanding and ask how to proceed.