@appland/appmap 3.140.1 → 3.141.0

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 (51) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/built/cmds/index/index.js +1 -1
  3. package/built/cmds/index/index.js.map +1 -1
  4. package/built/cmds/index/rpc.js +2 -1
  5. package/built/cmds/index/rpc.js.map +1 -1
  6. package/built/docs/appmap-docs.md +27 -0
  7. package/built/docs/get-started-with-appmap/add-appmap-to-your-code-editor.md +98 -0
  8. package/built/docs/get-started-with-appmap/index.md +20 -0
  9. package/built/docs/get-started-with-appmap/making-appmap-data.md +151 -0
  10. package/built/docs/get-started-with-appmap/navie-ai-quickstart.md +73 -0
  11. package/built/docs/guides/exporting-appmap-diagrams.md +1 -1
  12. package/built/docs/guides/handling-large-appmap-diagrams.md +1 -1
  13. package/built/docs/guides/index.md +3 -1
  14. package/built/docs/{navie/using-navie.md → guides/navie-best-practices.md} +20 -14
  15. package/built/docs/guides/navigating-code-objects.md +67 -0
  16. package/built/docs/guides/openapi.md +1 -1
  17. package/built/docs/guides/reading-sql-in-appmap-diagrams.md +1 -1
  18. package/built/docs/guides/refine-appmap-data.md +1 -1
  19. package/built/docs/guides/reverse-engineering.md +2 -2
  20. package/built/docs/guides/runtime-code-review.md +1 -1
  21. package/built/docs/guides/{configuring-analysis.md → using-appmap-analysis.md} +53 -5
  22. package/built/docs/guides/using-appmap-diagrams.md +2 -2
  23. package/built/docs/integrations/atlassian-confluence.md +1 -1
  24. package/built/docs/navie/bring-your-own-model.md +148 -12
  25. package/built/docs/navie/how-navie-works.md +1 -1
  26. package/built/docs/navie/index.md +1 -3
  27. package/built/docs/reference/appmap-java.md +1 -1
  28. package/built/docs/reference/appmap-python.md +46 -20
  29. package/built/fulltext/FileIndex.js +51 -17
  30. package/built/fulltext/FileIndex.js.map +1 -1
  31. package/built/fulltext/listGitProjectFIles.js +42 -18
  32. package/built/fulltext/listGitProjectFIles.js.map +1 -1
  33. package/built/fulltext/listProjectFiles.js +5 -5
  34. package/built/fulltext/listProjectFiles.js.map +1 -1
  35. package/built/fulltext/queryKeywords.js +1 -1
  36. package/built/fulltext/queryKeywords.js.map +1 -1
  37. package/built/fulltext/querySymbols.js +58 -0
  38. package/built/fulltext/querySymbols.js.map +1 -0
  39. package/built/html/appmap.js +5 -2
  40. package/built/html/appmap.js.map +2 -2
  41. package/built/html/sequenceDiagram.js +5 -2
  42. package/built/html/sequenceDiagram.js.map +2 -2
  43. package/built/lib/handleWorkingDirectory.js +2 -2
  44. package/built/lib/handleWorkingDirectory.js.map +1 -1
  45. package/built/rpc/configuration.js +2 -0
  46. package/built/rpc/configuration.js.map +1 -1
  47. package/built/telemetry.js +4 -7
  48. package/built/telemetry.js.map +1 -1
  49. package/package.json +1 -2
  50. package/built/docs/navie/byok/intellij.md +0 -35
  51. package/built/docs/navie/byok/vs-code.md +0 -115
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # [@appland/appmap-v3.141.0](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.140.1...@appland/appmap-v3.141.0) (2024-05-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Don't yield absolute paths from listProjectFiles ([7f76bf9](https://github.com/getappmap/appmap-js/commit/7f76bf982db474c8672976df659c381c3b633dc2))
7
+ * Handle multiple -d options to rpc command ([81c88c2](https://github.com/getappmap/appmap-js/commit/81c88c27050330870dd09bb7a2959cc47a498ed6))
8
+ * Prevent SIGPIPE in large projects ([a13b628](https://github.com/getappmap/appmap-js/commit/a13b628e4b4669999d61212c474f08c268e4d2c9))
9
+ * Query keywords now additionally split on underscore ([b7fceb3](https://github.com/getappmap/appmap-js/commit/b7fceb327029b7c9232f044c34ecac9486d00009))
10
+
11
+
12
+ ### Features
13
+
14
+ * Include static symbol names in file terms ([320bba5](https://github.com/getappmap/appmap-js/commit/320bba5e0221ebf703a029671c60b262249563ef))
15
+ * Index directory files in batches ([dd662fd](https://github.com/getappmap/appmap-js/commit/dd662fd6f098499c346696747640862420427073))
16
+
1
17
  # [@appland/appmap-v3.140.1](https://github.com/getappmap/appmap-js/compare/@appland/appmap-v3.140.0...@appland/appmap-v3.140.1) (2024-05-03)
2
18
 
3
19
 
@@ -109,7 +109,7 @@ const handler = async (argv) => {
109
109
  };
110
110
  const buildRemoteNavie = (threadId, contextProvider, projectInfoProvider, helpProvider) => new navie_remote_1.default(threadId, contextProvider, projectInfoProvider, helpProvider);
111
111
  const navieProvider = useLocalNavie() ? buildLocalNavie : buildRemoteNavie;
112
- (0, handleWorkingDirectory_1.configureRpcDirectories)([process.cwd()]);
112
+ await (0, handleWorkingDirectory_1.configureRpcDirectories)([process.cwd()]);
113
113
  const rpcMethods = [
114
114
  (0, numProcessed_1.numProcessed)(cmd),
115
115
  (0, search_1.search)(),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cmds/index/index.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAEhC,kDAA0B;AAC1B,4CAAoD;AAGpD,gHAAwF;AACxF,wGAAgF;AAChF,6EAAmG;AACnG,+DAA4D;AAC5D,uCAAsC;AACtC,qCAAoC;AACpC,+DAA4D;AAC5D,oDAAiD;AACjD,qEAAmD;AAEnD,yEAAiD;AACjD,uFAA+D;AAC/D,uDAAiF;AACjF,4DAAoC;AACpC,iEAA+C;AAC/C,kDAAsE;AACtE,sFAA6D;AAC7D,wFAA+D;AAG/D,MAAM,eAAe,GAAG,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC;AAEtD,QAAA,OAAO,GAAG,OAAO,CAAC;AAClB,QAAA,QAAQ,GACnB,4EAA4E,CAAC;AAExE,MAAM,OAAO,GAAG,CAAC,IAAgB,EAAE,EAAE;IAC1C,IAAI,CAAC,UAAU,EAAE,CAAC;IAElB,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE;QACvB,QAAQ,EAAE,2BAA2B;QACrC,IAAI,EAAE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
@@ -142,7 +142,8 @@ const handler = async (argv) => {
142
142
  return navie;
143
143
  };
144
144
  const navieProvider = useLocalNavie() ? buildLocalNavie : buildRemoteNavie;
145
- (0, handleWorkingDirectory_1.configureRpcDirectories)(directories);
145
+ (0, client_1.loadConfiguration)(false);
146
+ await (0, handleWorkingDirectory_1.configureRpcDirectories)(directories);
146
147
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
147
148
  const rpcMethods = [
148
149
  (0, search_1.search)(),
@@ -1 +1 @@
1
- {"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../../src/cmds/index/rpc.ts"],"names":[],"mappings":";;;;;;AAIA,kDAA0B;AAC1B,0CAAsE;AACtE,4CAAoD;AAEpD,uCAAsC;AACtC,qCAA8B;AAC9B,oDAAiD;AACjD,qEAAmD;AAEnD,yEAAiD;AACjD,uFAA+D;AAC/D,uDAAiF;AACjF,4DAAoC;AACpC,iEAA+C;AAC/C,kDAAsE;AACtE,sFAA6D;AAC7D,wFAA+D;AAE/D,6EAA2E;AAC3E,2DAKiC;AACjC,kFAA0D;AAE1D,MAAM,eAAe,GAAG,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC;AAEtD,QAAA,OAAO,GAAG,KAAK,CAAC;AAChB,QAAA,QAAQ,GAAG,4BAA4B,CAAC;AAE9C,MAAM,OAAO,GAAG,CAAC,IAAgB,EAAE,EAAE;IAC1C,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE;QACvB,QAAQ,EAAE,2BAA2B;QACrC,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;QACV,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;IACH,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;QAClB,QAAQ,EACN,wIAAwI;QAC1I,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,GAAG;KACX,CAAC,CAAC;IACH,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE;QAC5B,QAAQ,EAAE,uBAAuB;QACjC,IAAI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AAM,aAAa,GAAG,aAAa,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC;IAE3E,IAAA,0BAAiB,EAAC,KAAK,CAAC,CAAC;IACzB,MAAM,IAAA,gDAAuB,EAAC,WAAW,CAAC,CAAC;IAE3C,8DAA8D;IAC9D,MAAM,UAAU,GAA2B;QACzC,IAAA,eAAM,GAAE;QACR,IAAA,qBAAa,GAAE;QACf,IAAA,qBAAa,GAAE;QACf,IAAA,gBAAY,GAAE;QACd,IAAA,cAAU,GAAE;QACZ,IAAA,kBAAQ,GAAE;QACV,IAAA,yBAAe,GAAE;QACjB,IAAA,wBAAc,EAAC,aAAa,EAAE,UAAU,CAAC;QACzC,IAAA,8BAAoB,GAAE;QACtB,IAAA,kCAAkB,GAAE;QACpB,IAAA,kCAAkB,GAAE;QACpB,IAAA,kCAAkB,GAAE;QACpB,IAAA,kCAAkB,GAAE;KACrB,CAAC;IACF,MAAM,SAAS,GAAG,IAAI,mBAAS,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAClD,SAAS,CAAC,KAAK,EAAE,CAAC;AACpB,CAAC,CAAC;AA5HW,QAAA,OAAO,WA4HlB"}
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: docs
3
+ toc: true
4
+ title: Docs - AppMap Docs
5
+ description: "Explore AppMap, and AppMap Navie AI, an open-source code analysis and AI assistant that capturing code execution traces as interactive diagrams and powers runtime context for AI code generation."
6
+ redirect_from: [/docs, /docs/faq, /docs/appmap-overview]
7
+
8
+ ---
9
+ # AppMap Docs
10
+
11
+ AppMap is a developer tools platform powered by runtime analysis and AI. It's composed of three components:
12
+
13
+ * Navie - AI code architect.
14
+ * AppMap data - Runtime traces of your application runtime.
15
+ * AppMap diagrams - Interactive visualizations of AppMap data.
16
+
17
+ By using AppMap data, Navie is the first AI code architect with the context to understand how your app works when it runs, like a principal engineer or software architect. AppMap data provides Navie with accurate information about application behavior, APIs, database queries, and more, providing valuable context so you can ask more challenging questions and get better answers.
18
+
19
+ Over 90,000 software developers are using the [AppMap extension for VSCode](https://marketplace.visualstudio.com/items?itemName=appland.appmap) and the [AppMap plugin for JetBrains](https://plugins.jetbrains.com/plugin/16701-appmap).
20
+
21
+ <a class="btn btn-primary btn-lg" href="/docs/get-started-with-appmap/">Get Started with AppMap</a>
22
+
23
+ {% include docs/app_framework_logos.html %}
24
+
25
+ ![Getting started screenshot](/assets/img/docs/dependency-map-example.webp)
26
+ _AppMap dependency map in Visual Studio Code_
27
+
@@ -0,0 +1,98 @@
1
+ ---
2
+ layout: docs
3
+ setup-appmap-ide: true
4
+ title: Docs - Getting Started with AppMap
5
+ description: "Integrate AppMap into your Code Editor easily with AppMap for Visual Studio Code and JetBrains IDEs."
6
+ step: 1
7
+ name: Add AppMap to your Code Editor
8
+ redirect_from: [/docs/add-appmap-to-a-project/, /docs/install-appmap-agent, /docs/quickstart, /docs/quickstart/index.html,/docs/setup-appmap-in-your-code-editor/add-appmap-to-your-code-editor]
9
+ ---
10
+
11
+ # Add AppMap to your Code Editor
12
+
13
+ - [AppMap for Visual Studio Code](#appmap-for-visual-studio-code)
14
+ - [Activate AppMap in Visual Studio Code](#activate-appmap-in-visual-studio-code)
15
+ - [AppMap for JetBrains IDEs](#appmap-for-jetbrains-ides)
16
+ - [Activate AppMap in JetBrains IDEs](#activate-appmap-in-jetbrains-ides)
17
+ - [Keep your extension up to date](#keep-your-extension-up-to-date)
18
+ - [Update AppMap for Visual Studio Code](#update-appmap-for-visual-studio-code)
19
+ - [Update AppMap for JetBrains code editors](#update-appmap-for-jetbrains-code-editors)
20
+ - [Next Steps](#next-steps)
21
+
22
+ ## AppMap for Visual Studio Code
23
+
24
+ The AppMap extension is listed on the <a href="https://marketplace.visualstudio.com/items?itemName=appland.appmap" target="_blank">Visual Studio Code Marketplace</a>.
25
+
26
+ <img title="AppMap available in Visual Studio Code" class="inline-partial-screenshot" src="/assets/img/docs/vscode-marketplace-tab-in-IDE.png">
27
+
28
+ 1. Open extensions from the sidebar in Visual Studio Code
29
+ 2. Type 'AppMap' into the search bar
30
+ 3. Click to install
31
+
32
+ <a class="btn btn-dark btn-with-inline-img" href="https://marketplace.visualstudio.com/items?itemName=appland.appmap">
33
+ <img class="inline-button-img" src="/assets/img/vscode-icon.svg">
34
+ Install from the VS Code Marketplace
35
+ </a>
36
+
37
+ ### Activate AppMap in Visual Studio Code
38
+
39
+ After installing and opening the extension, you will need to first activate AppMap with your email address or with your GitHub or GitLab account. Activating AppMap only generates a valid license key associated with your account and does NOT send any of your source code or sensitive data to AppMap systems. For more information refer to the [AppMap Security FAQ](/security).
40
+
41
+ <div class="alert alert-info">If you do not see an option to <b>Activate AppMap</b>, upgrade to the <a href="https://marketplace.visualstudio.com/items?itemName=appland.appmap">latest version </a>of the AppMap extension.</div>
42
+
43
+ <img title="Activate AppMap in VS Code" class="inline-partial-screenshot" src="/assets/img/docs/activate-vscode.webp">
44
+
45
+ ## AppMap for JetBrains IDEs
46
+
47
+ The AppMap plugin has official support for **IntelliJ**, **PyCharm**, and **RubyMine** listed on the <a href="https://plugins.jetbrains.com/plugin/16701-appmap" target="_blank">JetBrains Marketplace</a>.
48
+
49
+ <img title="AppMap available in JetBrains IDE" class="inline-partial-screenshot" src="/assets/img/docs/jetbrains-marketplace-tab-in-IDE.webp">
50
+
51
+ 1. Start your JetBrains IDE and open Preferences
52
+ 2. Open Plugins, then click on Marketplace
53
+ 3. Search for AppMap, select and install AppMap
54
+
55
+ <a class="btn btn-dark btn-with-inline-img" href="https://plugins.jetbrains.com/plugin/16701-appmap">
56
+ <img class="inline-button-img" src="/assets/img/jetbrains.svg">
57
+ Install from the JetBrains Marketplace
58
+ </a>
59
+
60
+ ### Activate AppMap in JetBrains IDEs
61
+
62
+ After installing and opening the extension, you will need to first activate AppMap with your email address or with your GitHub or GitLab account. Activating AppMap only generates a valid license key associated with your account and does NOT send any of your source code or sensitive data to AppMap systems. For more information refer to the [AppMap Security FAQ](/security).
63
+
64
+ <div class="alert alert-info">If you do not see an option to <b>Activate AppMap</b>, upgrade to the <a href="https://plugins.jetbrains.com/plugin/16701-appmap">latest version</a> of the AppMap plugin.</div>
65
+
66
+ <img title="AppMap available in JetBrains IDE" class="inline-partial-screenshot" src="/assets/img/docs/activate-jetbrains.webp">
67
+
68
+ ## Keep your extension up to date
69
+
70
+ New development happens fast at AppMap. Keep your extension up to date to take advantage of new features.
71
+
72
+ ### Update AppMap for Visual Studio Code
73
+
74
+ <p class="alert alert-info">To get access to <a href="https://appmap.io/product/appmap-navie">AppMap Navie</a> you need to be running AppMap VS Code Plugin version >= 0.118.1</p>
75
+
76
+ To update AppMap for Visual Studio Code navigate to the extensions tab > installed. Select 'AppMap' from your installed extensions and click the update button.
77
+
78
+ Alternatively you can update to the latest AppMap software release on the [the VS Code Marketplace.](https://marketplace.visualstudio.com/items?itemName=appland.appmap)
79
+
80
+ <image class="video-screenshot" src="/assets/img/docs/update-appmap-for-visual-studio-code.webp"/>
81
+
82
+ **NOTE**: Make sure to either reload the extension, or reload/restart VS Code after updating the plugin.
83
+
84
+ ### Update AppMap for JetBrains code editors
85
+
86
+ <p class="alert alert-info">To get access to <a href="https://appmap.io/product/appmap-navie">AppMap Navie</a> you need to be running AppMap JetBrains Plugin version >= 0.64.0</p>
87
+
88
+ To update AppMap for JetBrains code editor open the Settings window and select Plugins. Select 'AppMap' from your installed extensions and click the update button.
89
+
90
+ Alternatively you can update to the latest AppMap software release on the [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/16701-appmap)
91
+
92
+ <image class="video-screenshot" src="/assets/img/docs/update-appmap-for-intellij.webp"/>
93
+
94
+ **NOTE**: Make sure to either reload the extension, or reload/restart JetBrains after updating the plugin.
95
+
96
+ ## Next Steps
97
+
98
+ After installing the AppMap plugin for your code editor, Open the [Navie AI Quickstart](/docs/get-started-with-appmap/navie-ai-quickstart) and ask questions about your application.
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: docs
3
+ title: Docs - AppMap in your Code Editor
4
+ description: "Learn to set up and navigate AppMap in your code editor efficiently. Explore features like generating AppMap Data from tests and remote recording."
5
+ toc: true
6
+ redirect_from: [/docs/your-first-15-minutes-with-appmap/, /docs/code-editor-extensions/,/docs/code-editor-extensions/appmap-for-vs-code, /docs/code-editor-extensions/appmap-for-jetbrains,/docs/setup-appmap-in-your-code-editor/index.html]
7
+ ---
8
+
9
+ # Get Started with AppMap
10
+
11
+ <p class="alert alert-info">
12
+ If at any point you would like some help, <a href="/slack">join us in Slack</a>!
13
+ You'll find the AppMap team there, along with other AppMap users.
14
+ </p>
15
+
16
+ ### Step 1: [Add AppMap to your Code Editor](/docs/get-started-with-appmap/add-appmap-to-your-code-editor)
17
+
18
+ ### Step 2: [Ask Navie AI a Question](/docs/get-started-with-appmap/navie-ai-quickstart)
19
+
20
+ ### Step 3: [Make AppMap Data and Improve Navie's Responses](/docs/get-started-with-appmap/making-appmap-data)
@@ -0,0 +1,151 @@
1
+ ---
2
+ layout: docs
3
+ title: Docs - Getting Started with AppMap
4
+ description: "Automatically generate AppMap Data from tests or from application interactions and improve the quality of responses from Navie AI"
5
+ name: Making AppMap Data
6
+ setup-appmap-ide: true
7
+ toc: true
8
+ step: 3
9
+ redirect_from: [/docs/recording-methods,/docs/your-first-15-minutes-with-appmap/generate-appmaps-with-tests, /docs/quickstart/intellij/step-3, /docs/quickstart/pycharm/step-3, /docs/quickstart/vscode/javascript-step-3.html, /docs/quickstart/rubymine/step-3, /docs/quickstart/vscode/python-step-3, /docs/quickstart/vscode/ruby-step-3, /docs/quickstart/vscode/java-step-3, ./reference/remote-recording.html, /docs/quickstart/vscode/step-2, /docs/diagrams/quickstart/vscode/ruby-step-3-tests, /docs/quickstart/vscode/java-step-3.html, /docs/quickstart/vscode/python-step-3.html, /docs/quickstart/vscode/ruby-step-3.html, /docs/quickstart/webstorm/step-3, /docs/diagrams/quickstart/vscode/java-step-3-tests, /docs/diagrams/quickstart/vscode/javascript-step-3-tests, /docs/diagrams/quickstart/vscode/python-step-3-tests, /docs/diagrams/quickstart/vscode/ruby-step-3-tests, /docs/diagrams/quickstart/intellij/step-3-tests, /docs/diagrams/quickstart/webstorm/step-3-tests, /docs/diagrams/quickstart/pycharm/step-3-tests, /docs/diagrams/quickstart/rubymine/step-3-tests, /docs/setup-appmap-in-your-code-editor/generate-appmaps-from-tests, /docs/setup-appmap-in-your-code-editor/generate-appmap-data-from-tests, /docs/your-first-15-minutes-with-appmap/generate-appmaps-with-remote-recording, /docs/setup-appmap-in-your-code-editor/generate-appmaps-with-remote-recording, /docs/setup-appmap-in-your-code-editor/generate-appmap-data-with-remote-recording, /docs/your-first-15-minutes-with-appmap/streaming-appmaps-with-request-recording, /docs/setup-appmap-in-your-code-editor/generate-appmaps-with-request-recording, /docs/setup-appmap-in-your-code-editor/generate-appmap-data-with-request-recording]
10
+ ---
11
+
12
+ # Making AppMap Data
13
+
14
+ You can improve the quality and accuracy of Navie AI by making AppMap Data for your project. Learn more about AppMap Data and how to make AppMap data by running your test cases or interacting with your application.
15
+
16
+ - [With Test Case Recording](#with-test-case-recording)
17
+ - [With API Request Recording](#with-api-request-recording)
18
+ - [With Remote Application Recording](#with-remote-application-recording)
19
+ - [With Code Block Recording](#with-code-block-recording)
20
+ - [With Process Recording](#with-process-recording)
21
+
22
+
23
+ ### How AppMap Data Works <!-- omit in toc -->
24
+
25
+ ### Language “agent” <!-- omit in toc -->
26
+
27
+ The AppMap process begins with the AppMap recording agent. This “agent” is a language-specific library - agents are available for Java, Python, Ruby and Node.js (Beta). You add the agent as a dependency of your project in the normal manner - via Maven, Gradle, Pip, Bundler, Yarn, etc. Then you configure your application to load the agent when the application runs.
28
+
29
+ <table class="table table-striped table-bordered">
30
+ <tr>
31
+ <th>Java</th>
32
+ <th>Python</th>
33
+ <th>Ruby</th>
34
+ <th>Node.js</th>
35
+ </tr>
36
+ <tr>
37
+ <td><code>-javaagent</code> JVM option </td>
38
+ <td>Django environment </td>
39
+ <td><code>test</code> and/or <code>development</code> bundle</td>
40
+ <td><code>npx appmap-node <i>yourapp</i></code></td>
41
+ </tr>
42
+ <tr>
43
+ <td>Gradle plugin</td>
44
+ <td>Flask environment </td>
45
+ <td></td>
46
+ <td></td>
47
+ </tr>
48
+ <tr>
49
+ <td>Maven plugin</td>
50
+ <td>FastAPI environment</td>
51
+ <td></td>
52
+ <td></td>
53
+ </tr>
54
+ </table>
55
+
56
+ AppMap is designed primarily to record _full details of your code_, including _parameters and return values_, as well as _I/O_ (especially _SQL_ and _HTTP client requests_), it includes _log statements_, the _execution stack_, _timing information_, and _exceptions_. It captures all of this with minimal configuration. It’s designed primarily for non-production environments.
57
+
58
+ ### appmap.yml configuration <!-- omit in toc -->
59
+ When you start your app with the AppMap agent enabled, it reads a configuration file called appmap.yml. This file serves several basic purposes. It tells the AppMap agent:
60
+
61
+ * Which code to record
62
+ * Where to write the AppMap Data.
63
+
64
+ And it also tells other AppMap tools:
65
+ * The project name
66
+ * The language name
67
+ * Where the AppMap Data is located
68
+
69
+ **Note:** In most environments, a default appmap.yml will be auto-generated by the AppMap agent if none exists.
70
+
71
+ #### About AppMap Data <!-- omit in toc -->
72
+ AppMap Data is ordinary JSON files. As you record AppMap Data with test case recording, requests recording, or process recording, these JSON files are generated and written to the filesystem. The default location for AppMap Data is `tmp/appmap`, relative to the process working directory. Be sure that you know that the working directory of the application server is! You’ll need to know this to find and open your AppMap Diagrams.
73
+
74
+ When you use remote recording, the HTTP “stop” command responds with the AppMap in the response payload. It’s up to the client to decide where to write the file. For example, you can start and stop a remote recording using cURL, and write the output of the “stop” command to a file of your choosing.
75
+
76
+ When you use code block recording, it’s up to you in your code snippet to write the AppMap to a file. Naturally, you can direct the data anywhere you please.
77
+
78
+ AppMap files conform to the [AppMap specification](https://github.com/getappmap/appmap), which is freely available on GitHub.
79
+
80
+ ## With Test Case Recording
81
+ AppMap provides specialized support for recording test cases. When you run your test cases in a supported framework (there are many - see the [language agent reference](/docs/reference) for details), a separate AppMap Diagram is created for each test case. AppMap Diagrams created from tests cases have some distinct features:
82
+
83
+ * Each AppMap file is named for the test case, and stored in a folder called `$appmap_dir/$test_framework`
84
+ * The test framework name and version are stored in the AppMap.
85
+ * The test case name, file name and line number are stored in the AppMap.
86
+ * The test status (`succeeded` or `failed`) and any test failure message are stored in the AppMap.
87
+
88
+ Recording the test suite of an application is a good way to quickly obtain a lot of data about an application. And because test cases work the same way for each build, recording test cases is also a good way to compare the behavior of application code across versions.
89
+
90
+ AppMap integrates with popular test frameworks, so you can automatically record an AppMap from each test case that you run.
91
+
92
+ Some benefits of test case recording include:
93
+
94
+ * **Named for the test case** The name of each AppMap corresponds to the name of the test.
95
+ * **Includes source location** The AppMap metadata contains the path and line number of the test case. From the AppMap Diagram, you can navigate to the test case code.
96
+ * **Supports incremental testing** AppMap's dependency analysis capability can help you re-run out-of-date test cases as you modify the code - even in very large repositories.
97
+
98
+ For details on test case recording, see:
99
+
100
+ * [Tests recording - Ruby](/docs/reference/appmap-ruby#tests-recording)
101
+ * [Tests recording - Python](/docs/reference/appmap-python#tests-recording)
102
+ * [Tests recording - Java](/docs/reference/appmap-java#tests-recording)
103
+ * [Tests recording - Node.js](/docs/reference/appmap-node#tests-recording)
104
+
105
+ ## With API Request Recording
106
+ For web applications, AppMap can be configured to record an AppMap for each HTTP server request handled by the app. This is a great way to collect data interactively. Just start the application with the AppMap language agent enabled, and start interacting with the app - manually, or using QA scripts or an API testing tool like Postman. AppMap Data is generated continuously as the application handles requests.
107
+
108
+ You can configure your application to record an AppMap of each HTTP server request.
109
+
110
+ Some characteristics of request recording include:
111
+
112
+ * **Named for the route** The name of each AppMap contains the HTTP request method and path, so you can see at a glance what request AppMap contains.
113
+ * **Sortable by timestamp** In the AppMap extension, AppMap Data recorded from requests are sorted by timestamp, with newest AppMap Diagrams at the top. So you can see a chronology of the requests that your app is serving.
114
+
115
+ For details on requests recording, see:
116
+
117
+ * [Requests recording - Ruby](/docs/reference/appmap-ruby#requests-recording)
118
+ * [Requests recording - Python](/docs/reference/appmap-python#requests-recording)
119
+ * [Requests recording - Java](/docs/reference/appmap-java#requests-recording)
120
+ * [Requests recording - Node.js](/docs/reference/appmap-node#request-recording)
121
+
122
+ ## With Remote Application Recording
123
+ Remote recording is similar to requests recording, in that:
124
+ * It’s for web applications
125
+ * It makes AppMap Data as the application handles requests
126
+
127
+ But unlike requests recording, you control the boundaries of the AppMap, each AppMap can contain more than one HTTP server request, and it will also contain non-HTTP activity such as background jobs. To start a remote recording, you send an HTTP command to the AppMap agent running inside your application’s web stack to start recording. From that point on, everything that happens inside the application is recorded, until you send the “stop” command.
128
+
129
+ Remote recording enables you to create an AppMap while interacting directly with your app through the UI or API.
130
+
131
+ Some benefits of remote recording include:
132
+
133
+ * **Named by you** When you finish creating a remote recording, you give it a name that makes sense to you. For example, you can name it for the user flow, or the ID number of the issue that you are trying to reproduce.
134
+ * **Contains a sequence of requests** A remote recording AppMap contains the entire sequence of HTTP server requests that occur as you use the application.
135
+ * **Contains both foreground and background work** A remote recording AppMap contains all threads of execution, not just the web server. So you can see background jobs, message queue activity, and other threads of activity along with the main HTTP server request.
136
+ * **Ideal for sharing** When you reproduce a bug, security vulnerability, or performance problem in a remote recording AppMap, you can share it with colleagues so they can see exactly what the problem is. An AppMap contains much more information than the source code itself.
137
+
138
+ For details on remote recording, see:
139
+
140
+ * [Remote recording - Ruby](/docs/reference/appmap-ruby#remote-recording)
141
+ * [Remote recording - Python](/docs/reference/appmap-python#remote-recording)
142
+ * [Remote recording - Java (JetBrains)](/docs/reference/jetbrains#running-a-java-application-with-appmap)
143
+ * [Remote recording - Java (VS Code)](/docs/reference/vscode#remote-recording)
144
+ * [Remote recording - Java (command line)](/docs/reference/appmap-java#remote-recording)
145
+ * [Remote recording - Node.js](/docs/reference/appmap-node#remote-recording)
146
+
147
+ ## With Code Block Recording
148
+ Some language agents enable you to make an AppMap by adding a simple code snippet to your code. This gives you total control over what’s recorded. The only downside of this is that you need access to the source code - which is not required by other recording methods. Refer to the [AppMap Reference Guide](/docs/reference/) for language specific configuration of this recording option.
149
+
150
+ ## With Process Recording
151
+ Process recording is something of a last resort, when other recording methods aren’t available. When you run your application with process recording enabled, _everything_ that happens in the code (as configured by the appmap.yml) is recorded, from process startup to shutdown. Refer to the [AppMap Reference Guide](/docs/reference/) for language specific configuration of this recording option.
@@ -0,0 +1,73 @@
1
+ ---
2
+ layout: docs
3
+ setup-appmap-ide: true
4
+ title: Docs - AppMap in your Code Editor
5
+ description: "Learn how AppMap Navie AI works: Ask Navie architectural level questions about your code and use AppMap Data as"
6
+ step: 2
7
+ name: Navie AI Quickstart
8
+ redirect_from: [/docs/setup-appmap-in-your-code-editor/navie-ai-quickstart]
9
+ ---
10
+
11
+ # AppMap Navie AI Quickstart
12
+
13
+ - [Open AppMap Navie AI](#open-appmap-navie-ai)
14
+ - [Ask Navie about your App](#ask-navie-about-your-app)
15
+ - [Improve Navie AI Responses with AppMap Data](#improve-navie-ai-responses-with-appmap-data)
16
+ - [Next Steps](#next-steps)
17
+
18
+ ## Open AppMap Navie AI
19
+
20
+ After you complete the installation of AppMap for your code editor. Open the Navie Chat Window to ask Navie about your application.
21
+
22
+ To open the Navie Chat, open the AppMap plugin in the sidebar menu for your code editor, and select the `New Navie Chat` option.
23
+
24
+ ![Open Navie](/assets/img/open-navie.webp)
25
+
26
+ ## Ask Navie about your App
27
+
28
+ You can ask questions about your application with Navie immediately after installing the plugin. AppMap Data is not required but Navie only has partial information about your project and the answers will not include any runtime specific information.
29
+
30
+ By default, Navie will utilize an OpenAI service hosted by AppMap. If, for data privacy or other reasons, you are do not wish to use the AppMap OpenAI proxy, you can [bring your own OpenAI API key](/docs/navie/bring-your-own-model.html#bring-your-own-openai-api-key-byok), or use an [entirely different AI Model](/docs/navie/bring-your-own-model.html#ollama), hosted in your environment or hosted locally.
31
+
32
+ When you ask a question to Navie, it will search through all your AppMap Diagrams (if they exist) for your project to pull in relevant traces, sequence diagrams, and code snippets for analysis. It will then send these code snippets and runtime code sequence diagrams to the Generative AI service along with your question.
33
+
34
+ You can ask free-form questions, or start your question with one of these commands:
35
+
36
+ - `@explain`: (Default) Help you understand your project. This mode is used when there is no prefix.
37
+ - `@help`: Get assistance with configuring and using AppMap.
38
+ - `@generate`: Optimizes the answer to focus on new code generation.
39
+
40
+ After asking Navie a question, Navie will search through your application source code, finding any relevant code snippets. It will include relevant AppMap Data like sequence diagrams and data flows if they exist for your project. You will see on the right hand side of the Navie window the relevant context from your code included with the question.
41
+
42
+ The Navie UI includes a standard chat window, and a context panel which will include all the context that is included in the query to the AI provider. This context can include things such as:
43
+
44
+ **Always available:**
45
+ - Code Snippets
46
+
47
+ **If AppMap Data exists:**
48
+ - Sequence Diagrams
49
+ - HTTP Requests
50
+ - SQL Queries
51
+ - Other I/O Data
52
+
53
+ ![Navie Context Window](/assets/img/navie-context-window.webp)
54
+
55
+ ## Improve Navie AI Responses with AppMap Data
56
+
57
+ Generate AppMap Data and you will greatly improve the quality of your Navie AI responses. With AppMap Data for your project, you can now ask much deeper architectural questions about your application. This is possible because of the additional context from AppMap Data and the higher accuracy and relevance of the code snippets which are relevant to your question.
58
+
59
+ View the [Navie AI examples page](/product/examples/navie) to see some examples of Navie fixing complex architectural issues, performance issues, and adding new features to your application.
60
+
61
+ After your AppMap Data is generated, the Navie window will indicate the AppMap Data that exists for your project.
62
+
63
+ ![Navie AppMap Data Exists](/assets/img/navie-appmap-data-exists.webp)
64
+
65
+ With this AppMap Data in your project, asking questions to Navie will now include data flows, sequence diagrams, traces, in addition to the relevant code snippets for the project.
66
+
67
+ ![Navie AppMap context window 2](/assets/img/navie-appmap-context-window.webp)
68
+
69
+ ## Next Steps
70
+
71
+ Continue to ask questions to Navie, creating new code for your application, and continue to generate additional AppMap Data as your code changes. On each subsequent question asked, Navie will re-query your AppMap Data, traces, data flows, and source code for your project to power the context for the answer.
72
+
73
+ [Learn more about making AppMap Data to improve Navie response accuracy](/docs/get-started-with-appmap/making-appmap-data)
@@ -4,7 +4,7 @@ title: Docs - Guides
4
4
  description: "Learn how to export your AppMap Diagrams into raw JSON format, SVG formats, and into 3rd party documentation tools like Confluence"
5
5
  guides: true
6
6
  name: Exporting AppMap Diagrams
7
- step: 2`
7
+ step: 4
8
8
  ---
9
9
 
10
10
  # Exporting AppMap Diagrams <!-- omit in toc -->
@@ -4,7 +4,7 @@ title: Docs - Guides
4
4
  description: "Learn how to manage large AppMap Diagrams effectively. Discover tips to handle AppMap Data over 10 MB and 200 MB in size, focusing on optimizing AppMap Data for better interpretation and performance."
5
5
  guides: true
6
6
  name: Handling Large AppMap Diagrams
7
- step: 3
7
+ step: 4
8
8
  redirect_from: [/docs/reference/handling-large-appmaps, /docs/guides/handling-large-appmaps]
9
9
  ---
10
10
 
@@ -9,12 +9,14 @@ step: 1
9
9
 
10
10
  These guide contain in-depth information on how to use AppMap for different use cases and scenarios.
11
11
 
12
+ - [Navie Best Practices](/docs/guides/navie-best-practices)
12
13
  - [Using AppMap Diagrams](/docs/guides/using-appmap-diagrams)
14
+ - [Navigating Code Objects](/docs/guides/navigating-code-objects)
13
15
  - [Exporting AppMap Diagrams](/docs/guides/exporting-appmap-diagrams)
14
16
  - [Handling Large AppMap Diagrams](/docs/guides/handling-large-appmap-diagrams)
15
17
  - [Reading SQL in AppMap Diagrams](/docs/guides/reading-sql-in-appmap-diagrams)
16
18
  - [Refining AppMap Data](/docs/guides/refine-appmap-data)
17
19
  - [Generating OpenAPI Definitions](/docs/guides/openapi)
18
- - [Configuring Analysis](/docs/guides/configuring-analysis)
20
+ - [Using AppMap Analysis](/docs/guides/using-appmap-analysis)
19
21
  - [Reverse Engineering with AppMap](/docs/guides/reverse-engineering)
20
22
  - [Understanding the Runtime Code Review Report](/docs/guides/runtime-code-review)
@@ -1,16 +1,14 @@
1
1
  ---
2
2
  layout: docs
3
- title: Docs - AppMap Navie AI
3
+ title: Docs - Guides
4
4
  description: "Learn how to use AppMap Navie to provide personalized code analysis. Generate AppMap Data, ask Navie questions, analyze code, and iterate for optimal results."
5
- name: Using Navie
6
- step: 3
7
- toc: true
8
- navie: true
9
- toc: true
10
- redirect_from: [/docs/navie/how-to-use-navie]
5
+ guides: true
6
+ name: Navie Best Practices
7
+ step: 1
8
+ redirect_from: [/docs/navie/using-navie]
11
9
  ---
12
10
 
13
- # Using Navie
11
+ # Navie Best Practices
14
12
 
15
13
  When you ask a question to Navie, it will search through all your AppMap Diagrams created for your project to pull in relevant traces, sequence diagrams, and code snippets for analysis. It will then send these code snippets and runtime code sequence diagrams to the Generative AI service along with your question. By sending this valuable context to the AI interface, your answers will be much more personal and specific to your codebase, files, and functions. Additionally, the Generative AI will be able to understand how your code works at runtime and will be able to make architectural level recommendations across your entire application.
16
14
 
@@ -23,15 +21,15 @@ To generate the highest quality responses from Navie, we recommend the following
23
21
 
24
22
  ## Create AppMap Data
25
23
 
26
- We recommend creating maps that are most relevant to the question or area of the application you are going to be working with. For example, if i wanted to understand how my new user registration flow worked I could [create a remote recording](/docs/setup-appmap-in-your-code-editor/generate-appmap-data-with-remote-recording) of a new user registration flow. Alternatively, I could [run all the test cases](/docs/setup-appmap-in-your-code-editor/generate-appmap-data-from-tests) related to new user creation, registration, and adjacent areas.
24
+ We recommend creating maps that are most relevant to the question or area of the application you are going to be working with. For example, if i wanted to understand how my new user registration flow worked I could [create a remote recording](/docs/get-started-with-appmap/making-appmap-data.html#with-remote-application-recording) of a new user registration flow. Alternatively, I could [run all the test cases](/docs/get-started-with-appmap/making-appmap-data.html#with-test-case-recording) related to new user creation, registration, and adjacent areas.
27
25
 
28
- Depending on your language and framework there [are up to 5 different ways](/docs/setup-appmap-in-your-code-editor/how-appmap-works.html#recording-methods) that you can record AppMap Diagrams for your application.
26
+ Depending on your language and framework there [are up to 5 different ways](/docs/get-started-with-appmap/making-appmap-data) that you can record AppMap Diagrams for your application.
29
27
 
30
- 1. **[Test Case Recording](/docs/setup-appmap-in-your-code-editor/generate-appmap-data-from-tests.html)**: This method is particularly useful for automated testing environments. AppMap integrates with numerous testing frameworks, creating individual AppMap Diagrams for each test case run. These AppMap Diagrams include detailed information such as the test framework, test case names, and their outcomes, enabling a comprehensive overview of test coverage and facilitating easier debugging and performance optimization.
28
+ 1. **[Test Case Recording](/docs/get-started-with-appmap/making-appmap-data.html#with-test-case-recording)**: This method is particularly useful for automated testing environments. AppMap integrates with numerous testing frameworks, creating individual AppMap Diagrams for each test case run. These AppMap Diagrams include detailed information such as the test framework, test case names, and their outcomes, enabling a comprehensive overview of test coverage and facilitating easier debugging and performance optimization.
31
29
 
32
- 2. **[Requests Recording](/docs/setup-appmap-in-your-code-editor/generate-appmap-data-with-request-recording)**: Ideal for web applications, this method records each HTTP request processed by your application. By simply running your application with the AppMap agent and interacting with it—either manually or through automated scripts—you can generate a rich dataset of AppMap Diagrams that capture the full scope of your application's request handling.
30
+ 2. **[Requests Recording](/docs/get-started-with-appmap/making-appmap-data.html#with-api-request-recording)**: Ideal for web applications, this method records each HTTP request processed by your application. By simply running your application with the AppMap agent and interacting with it—either manually or through automated scripts—you can generate a rich dataset of AppMap Diagrams that capture the full scope of your application's request handling.
33
31
 
34
- 3. **[Remote Recording](/docs/setup-appmap-in-your-code-editor/generate-appmap-data-with-remote-recording)**: Similar to request recording but offering more control over the recording session. You initiate and stop recording via HTTP commands, allowing the inclusion of multiple requests and other non-HTTP activities within a single AppMap. This method is particularly suited for capturing detailed interactions within web applications, including background jobs and other processes.
32
+ 3. **[Remote Recording](/docs/get-started-with-appmap/making-appmap-data.html#with-remote-application-recording)**: Similar to request recording but offering more control over the recording session. You initiate and stop recording via HTTP commands, allowing the inclusion of multiple requests and other non-HTTP activities within a single AppMap. This method is particularly suited for capturing detailed interactions within web applications, including background jobs and other processes.
35
33
 
36
34
  4. **Code Block Recording**: Provides the highest level of control, enabling you to specify exactly which blocks of code to record by inserting simple code snippets. This method requires source code access and is a powerful option for targeting specific functionalities or debugging complex issues. (Code Block recording is language specific, refer to [the language reference docs for examples](/docs/reference)).
37
35
 
@@ -43,6 +41,14 @@ Each of these methods generates AppMap Data in JSON format, which are then visua
43
41
 
44
42
  Navie, can address a wide range of questions about your application, extending beyond what static analysis AI assistants can provide, to understand dynamic interactions, dependencies, and performance bottlenecks to help your developers design and deliver solutions faster for a host of complex issues.
45
43
 
44
+ If you are not able to use the AppMap OpenAI proxy, you can bring your own OpenAI API key, or use an entirely different AI Model, [hosted in your environment](/docs/navie/bring-your-own-model.html#azure-openai) or [hosted locally](/docs/navie/bring-your-own-model.html#ollama).
45
+
46
+ You can ask free formed questions, or start your question with one of these commands:
47
+
48
+ - `@explain`: (Default) Navie will help you understand your project. This mode is used when there is no prefix.
49
+ - `@help`: Navie will help you setup AppMap, including generating AppMap recordings and diagrams.
50
+ - `@generate`: Navie will help you generate new code.
51
+
46
52
  **Examples of good questions to ask Navie.**
47
53
 
48
54
  * Why is `behavior X` happening in dev and not in production?
@@ -54,7 +60,7 @@ Navie, can address a wide range of questions about your application, extending b
54
60
  * Explain what functions or files are involved when a user logs into my service.
55
61
  * Loading the "products" view page is slow in production, provide suggested guidance with relevant code changes I can make to improve the speed.
56
62
 
57
- ## Write Code
63
+ ## Implement Generated Code
58
64
 
59
65
  Navie can do more than just provide code implementation details, you can talk to Navie about a variety of other topics as you are updating your application based on it's recommendations.
60
66